Skip to content

Commit 5d503c2

Browse files
committed
MC-22215: Add customerCart Query and cart_id changes to schema and related resolvers
- Fixed PR build failures
1 parent 627a617 commit 5d503c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/CustomerCart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CustomerCart implements ResolverInterface
2929
/**
3030
* @var CartManagementInterface
3131
*/
32-
protected $cartManagement;
32+
private $cartManagement;
3333

3434
/**
3535
* @param CreateEmptyCartForCustomer $createEmptyCartForCustomer

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ public function testGetCartWithNotDefaultStore()
188188
}
189189

190190
/**
191-
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
191+
* @magentoApiDataFixture Magento/Customer/_files/customer.php
192+
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/customer/create_empty_cart.php
192193
* @magentoApiDataFixture Magento/Store/_files/second_store.php
193194
*
194195
* @expectedException Exception

0 commit comments

Comments
 (0)