Skip to content

Commit 2611ffe

Browse files
ACQE-8324: Using rest api update guest cart of configurable product
- Fixed soap api issue object has no cartid property
1 parent 4ff725e commit 2611ffe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ private function addConfigurableProductToCart(string $guestCartId): array
166166
private function verifyCartItems(string $guestCartId, int $expectedItemId): void
167167
{
168168
$serviceInfo = $this->getCartServiceInfo($guestCartId, 'get');
169-
$response = $this->_webApiCall($serviceInfo, []);
169+
$requestData = ['cartId' => $guestCartId];
170+
$response = $this->_webApiCall($serviceInfo, $requestData);
170171
$this->assertIsArray($response);
171172
$this->assertGreaterThan(0, count($response), 'Cart should contain at least one item');
172173

0 commit comments

Comments
 (0)