Skip to content

Commit de8fe82

Browse files
aa-kashkandimov
andauthored
ACPT-1625
Co-authored-by: Andrii Dimov <[email protected]>
1 parent c74824e commit de8fe82

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCustomerMutationsTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
namespace Magento\GraphQl\App;
99

1010
use Magento\Customer\Api\CustomerRepositoryInterface;
11-
use Magento\Framework\Exception\LocalizedException;
1211
use Magento\Framework\Exception\NoSuchEntityException;
1312
use Magento\Framework\Registry;
1413
use Magento\GraphQl\App\State\GraphQlStateDiff;
@@ -108,7 +107,6 @@ public function testMergeCarts(): void
108107
['cartId1' => $cartId1, 'cartId2' => $cartId2],
109108
[],
110109
['email' => '[email protected]', 'password' => 'password'],
111-
112110
'mergeCarts',
113111
'"data":{"mergeCarts":',
114112
$this

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public function testState(
7272
string $operationName,
7373
string $expected,
7474
): void {
75-
$this->graphQlStateDiff->
76-
testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this);
75+
$this->graphQlStateDiff
76+
->testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this);
7777
}
7878

7979

@@ -108,15 +108,14 @@ public function testCartState(
108108
array $authInfo,
109109
string $operationName,
110110
string $expected
111-
): void
112-
{
111+
): void {
113112
if ($operationName == 'getCart') {
114113
$this->getMaskedQuoteIdByReservedOrderId =
115114
$this->graphQlStateDiff->getTestObjectManager()->get(GetMaskedQuoteIdByReservedOrderId::class);
116115
$variables['id'] = $this->getMaskedQuoteIdByReservedOrderId->execute($variables['id']);
117116
}
118-
$this->graphQlStateDiff->
119-
testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this);
117+
$this->graphQlStateDiff
118+
->testState($query, $variables, $variables2, $authInfo, $operationName, $expected, $this);
120119
}
121120

122121
/**

0 commit comments

Comments
 (0)