File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
dev/tests/integration/testsuite/Magento
PaypalGraphQl/Model/Resolver/Guest Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ public function testDispatchGetWithParameterizedVariables() : void
175
175
id
176
176
name
177
177
sku
178
- }
178
+ }
179
179
}
180
180
}
181
181
QUERY ;
@@ -223,12 +223,12 @@ public function testError() : void
223
223
}
224
224
])
225
225
{
226
- items{
226
+ items{
227
227
attribute_code
228
228
attribute_type
229
229
entity_type
230
- }
231
- }
230
+ }
231
+ }
232
232
}
233
233
QUERY ;
234
234
@@ -249,10 +249,6 @@ public function testError() : void
249
249
if (isset ($ outputResponse ['errors ' ][0 ])) {
250
250
if (is_array ($ outputResponse ['errors ' ][0 ])) {
251
251
foreach ($ outputResponse ['errors ' ] as $ error ) {
252
- $ this ->assertEquals (
253
- \Magento \Framework \GraphQl \Exception \GraphQlInputException::EXCEPTION_CATEGORY ,
254
- $ error ['extensions ' ]['category ' ]
255
- );
256
252
if (isset ($ error ['message ' ])) {
257
253
$ this ->assertEquals ($ error ['message ' ], 'Invalid entity_type specified: invalid ' );
258
254
}
Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ public function testResolveWithPaypalError($paymentMethod): void
136
136
$ this ->assertArrayHasKey ('errors ' , $ responseData );
137
137
$ actualError = $ responseData ['errors ' ][0 ];
138
138
$ this ->assertEquals ($ expectedExceptionMessage , $ actualError ['message ' ]);
139
- $ this ->assertEquals (GraphQlInputException::EXCEPTION_CATEGORY , $ actualError ['extensions ' ]['category ' ]);
140
139
}
141
140
142
141
/**
You can’t perform that action at this time.
0 commit comments