Skip to content

Commit da2fde4

Browse files
committed
graphql-php-v15: adjust for changed error message
1 parent 363f321 commit da2fde4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/GraphQLTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public function testFormatError(): void
294294
self::assertArrayHasKey('message', $error);
295295
self::assertArrayHasKey('locations', $error);
296296
$expectedError = [
297-
'message' => 'Cannot query field "examplesQueryNotFound" on type "Query".',
297+
'message' => 'Cannot query field "examplesQueryNotFound" on type "Query". Did you mean "examplesPagination"?',
298298
'locations' => [
299299
[
300300
'line' => 3,

0 commit comments

Comments
 (0)