Skip to content

Commit 7122eca

Browse files
author
Prabhu Ram
committed
MC-22213: Implementation - Merge cart
- static fixes
1 parent 8dc3ab8 commit 7122eca

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/MergeCartsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public function testMergeOtherCustomerCart()
157157
*
158158
* @param string $maskedId
159159
* @param array $headerMap
160+
* @throws \Exception
160161
*/
161162
private function addSimpleProductToCart(string $maskedId, array $headerMap): void
162163
{

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest/MergeCartsTest.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -90,28 +90,6 @@ private function getCartMergeMutation(string $guestQuoteMaskedId, string $custom
9090
}
9191
}
9292
}
93-
QUERY;
94-
}
95-
96-
/**
97-
* Get cart query
98-
*
99-
* @param string $maskedId
100-
* @return string
101-
*/
102-
private function getCartQuery(string $maskedId): string
103-
{
104-
return <<<QUERY
105-
{
106-
cart(cart_id: "{$maskedId}") {
107-
items {
108-
quantity
109-
product {
110-
sku
111-
}
112-
}
113-
}
114-
}
11593
QUERY;
11694
}
11795
}

0 commit comments

Comments
 (0)