File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 15
15
class LinkManagementTest extends WebapiAbstract
16
16
{
17
17
const SERVICE_NAME = 'configurableProductLinkManagementV1 ' ;
18
+ const OPTION_SERVICE_NAME = 'configurableProductOptionRepositoryV1 ' ;
18
19
const SERVICE_VERSION = 'V1 ' ;
19
20
const RESOURCE_PATH = '/V1/configurable-products ' ;
20
21
@@ -267,17 +268,17 @@ private function deleteProduct(string $sku): bool
267
268
* @param string $productSku
268
269
* @return array
269
270
*/
270
- protected function getConfigurableAttribute ($ productSku ): array
271
+ protected function getConfigurableAttribute (string $ productSku ): array
271
272
{
272
273
$ serviceInfo = [
273
274
'rest ' => [
274
275
'resourcePath ' => self ::RESOURCE_PATH . '/ ' . $ productSku . '/options/all ' ,
275
276
'httpMethod ' => Request::HTTP_METHOD_GET
276
277
],
277
278
'soap ' => [
278
- 'service ' => self ::SERVICE_NAME ,
279
+ 'service ' => self ::OPTION_SERVICE_NAME ,
279
280
'serviceVersion ' => self ::SERVICE_VERSION ,
280
- 'operation ' => self ::SERVICE_NAME . 'GetList '
281
+ 'operation ' => self ::OPTION_SERVICE_NAME . 'GetList '
281
282
]
282
283
];
283
284
return $ this ->_webApiCall ($ serviceInfo , ['sku ' => $ productSku ]);
You can’t perform that action at this time.
0 commit comments