Skip to content

Commit ace405d

Browse files
committed
Merge branch 'AC-7422_v1' of github.com:magento-gl/magento2ce into AC-7422_v1
2 parents fb7420d + f081914 commit ace405d

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/Controller/GraphQlControllerTest.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function testDispatchGetWithParameterizedVariables() : void
175175
id
176176
name
177177
sku
178-
}
178+
}
179179
}
180180
}
181181
QUERY;
@@ -223,12 +223,12 @@ public function testError() : void
223223
}
224224
])
225225
{
226-
items{
226+
items{
227227
attribute_code
228228
attribute_type
229229
entity_type
230-
}
231-
}
230+
}
231+
}
232232
}
233233
QUERY;
234234

@@ -249,10 +249,6 @@ public function testError() : void
249249
if (isset($outputResponse['errors'][0])) {
250250
if (is_array($outputResponse['errors'][0])) {
251251
foreach ($outputResponse['errors'] as $error) {
252-
$this->assertEquals(
253-
\Magento\Framework\GraphQl\Exception\GraphQlInputException::EXCEPTION_CATEGORY,
254-
$error['extensions']['category']
255-
);
256252
if (isset($error['message'])) {
257253
$this->assertEquals($error['message'], 'Invalid entity_type specified: invalid');
258254
}

dev/tests/integration/testsuite/Magento/PaypalGraphQl/Model/Resolver/Guest/PaypalExpressTokenTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ public function testResolveWithPaypalError($paymentMethod): void
136136
$this->assertArrayHasKey('errors', $responseData);
137137
$actualError = $responseData['errors'][0];
138138
$this->assertEquals($expectedExceptionMessage, $actualError['message']);
139-
$this->assertEquals(GraphQlInputException::EXCEPTION_CATEGORY, $actualError['extensions']['category']);
140139
}
141140

142141
/**

0 commit comments

Comments
 (0)