Skip to content

Commit 0a427f6

Browse files
ACQE-8324: Using rest api update guest cart of configurable product
- Added soap api functionality
1 parent 5b35864 commit 0a427f6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Quote/Api/GuestCartConfigurableItemRepositoryTest.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,12 @@ private function createGuestCart(): string
111111
'rest' => [
112112
'resourcePath' => self::RESOURCE_PATH_GUEST_CART,
113113
'httpMethod' => Request::HTTP_METHOD_POST
114-
]
114+
],
115+
'soap' => [
116+
'service' => self::SERVICE_NAME_GUEST_CART,
117+
'serviceVersion' => self::SERVICE_VERSION_GUEST_CART,
118+
'operation' => self::SERVICE_NAME_GUEST_CART . 'Save',
119+
],
115120
];
116121

117122
$requestData = ['storeId' => 1];
@@ -296,7 +301,12 @@ private function getCartServiceInfo(
296301
'rest' => [
297302
'resourcePath' => $resourcePath,
298303
'httpMethod' => $httpMethod
299-
]
304+
],
305+
'soap' => [
306+
'service' => self::SERVICE_NAME_GUEST_CART,
307+
'serviceVersion' => self::SERVICE_VERSION_GUEST_CART,
308+
'operation' => self::SERVICE_NAME_GUEST_CART . 'Save',
309+
],
300310
];
301311
}
302312
}

0 commit comments

Comments
 (0)