diff --git a/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCustomerMutationsTest.php b/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCustomerMutationsTest.php index 6f8cd4d56ecf2..3dfbb01cc8de1 100644 --- a/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCustomerMutationsTest.php +++ b/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCustomerMutationsTest.php @@ -8,7 +8,6 @@ namespace Magento\GraphQl\App; use Magento\Customer\Api\CustomerRepositoryInterface; -use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Exception\NoSuchEntityException; use Magento\Framework\Registry; use Magento\GraphQl\App\State\GraphQlStateDiff; @@ -108,7 +107,6 @@ public function testMergeCarts(): void ['cartId1' => $cartId1, 'cartId2' => $cartId2], [], ['email' => 'customer@example.com', 'password' => 'password'], - 'mergeCarts', '"data":{"mergeCarts":', $this diff --git a/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php b/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php index 1eec0ddd1f2ae..8d4702e28c215 100644 --- a/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php +++ b/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php @@ -72,8 +72,8 @@ public function testState( string $operationName, string $expected, ): void { - $this->graphQlStateDiff-> - testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this); + $this->graphQlStateDiff + ->testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this); } @@ -108,15 +108,14 @@ public function testCartState( array $authInfo, string $operationName, string $expected - ): void - { + ): void { if ($operationName == 'getCart') { $this->getMaskedQuoteIdByReservedOrderId = $this->graphQlStateDiff->getTestObjectManager()->get(GetMaskedQuoteIdByReservedOrderId::class); $variables['id'] = $this->getMaskedQuoteIdByReservedOrderId->execute($variables['id']); } - $this->graphQlStateDiff-> - testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this); + $this->graphQlStateDiff + ->testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this); } /**