Skip to content

Commit 798c6fb

Browse files
committed
B2B-1704: Add MFTF test for MC-38621
- Addressing CR feedback
1 parent 6345bcf commit 798c6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Test/Mftf/Helper/CurlHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private function getCurlResponse($url, $cookie = null, $postBody = null): string
4747

4848
// Set Options
4949
if ($postBody) {
50-
$data = json_decode($postBody);
50+
$data = json_decode($postBody, true);
5151
curl_setopt($session, CURLOPT_POST, true);
5252
curl_setopt($session, CURLOPT_POSTFIELDS, $data);
5353
}

0 commit comments

Comments
 (0)