From 445c02df1fe7f8683ed9587e4c041e09a939c2a1 Mon Sep 17 00:00:00 2001 From: Valerii Naida Date: Thu, 28 Feb 2019 17:32:08 -0600 Subject: [PATCH] GraphQL-37: [Cart Operations] Manage Cart Items -- Refactoring --- .../testsuite/Magento/GraphQl/Quote/Customer/GetCartTest.php | 2 +- .../GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php | 2 +- .../GraphQl/Quote/Customer/SetPaymentMethodOnCartTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/GetCartTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/GetCartTest.php index 85a3fc8620c68..fe9b7b3c49a7c 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/GetCartTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/GetCartTest.php @@ -90,7 +90,7 @@ public function testGetGuestCart() * @magentoApiDataFixture Magento/Customer/_files/three_customers.php * @magentoApiDataFixture Magento/Checkout/_files/quote_with_items_saved.php */ - public function testGetCartIfCustomerIsNotOwnerOfCart() + public function testGetAnotherCustomerCart() { $maskedQuoteId = $this->getMaskedQuoteIdByReversedQuoteId('test_order_item_with_items'); $query = $this->getCartQuery($maskedQuoteId); diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php index 2e0b57f96fe3a..96f32d781267b 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php @@ -339,7 +339,7 @@ public function testSetBillingAddressToGuestCart() * @magentoApiDataFixture Magento/Customer/_files/customer_address.php * @magentoApiDataFixture Magento/Checkout/_files/quote_with_simple_product_saved.php */ - public function testSetBillingAddressIfCustomerIsNotOwnerOfCart() + public function testSetBillingAddressToAnotherCustomerCart() { $maskedQuoteId = $this->assignQuoteToCustomer('test_order_with_simple_product_without_address', 2); diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetPaymentMethodOnCartTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetPaymentMethodOnCartTest.php index 315cbc86b2de1..bbc77b6c39740 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetPaymentMethodOnCartTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetPaymentMethodOnCartTest.php @@ -137,7 +137,7 @@ public function testSetPaymentMethodToGuestCart() * @magentoApiDataFixture Magento/Customer/_files/three_customers.php * @magentoApiDataFixture Magento/Checkout/_files/quote_with_address_saved.php */ - public function testSetPaymentMethodIfCustomerIsNotOwnerOfCart() + public function testSetPaymentMethodToAnotherCustomerCart() { $methodCode = Checkmo::PAYMENT_METHOD_CHECKMO_CODE; $maskedQuoteId = $this->getMaskedQuoteIdByReversedQuoteId('test_order_1');