Skip to content

Commit 4439a6c

Browse files
author
lakshmana
committed
ACP2E-1526 : Fixed Soap API errors
1 parent 1d1574a commit 4439a6c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeMediaGalleryManagementInterfaceTest.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,10 @@ public function testContentAttributeInGetList(): void
857857
'operation' => self::SERVICE_NAME . 'getList',
858858
],
859859
];
860-
$response = $this->_webApiCall($serviceInfo, []);
860+
$requestData = [
861+
'sku' => $productSku,
862+
];
863+
$response = $this->_webApiCall($serviceInfo, $requestData);
861864
$this->assertArrayHasKey('content', $response[0]);
862865
}
863866

@@ -885,7 +888,11 @@ public function testContentAttributeInGet(): void
885888
'operation' => self::SERVICE_NAME . 'get',
886889
],
887890
];
888-
$response = $this->_webApiCall($serviceInfo, []);
891+
$requestData = [
892+
'sku' => $productSku,
893+
'entryId' => $entryId,
894+
];
895+
$response = $this->_webApiCall($serviceInfo, $requestData);
889896
$this->assertArrayHasKey('content', $response);
890897
}
891898
}

0 commit comments

Comments
 (0)