Skip to content

Commit 94aa71c

Browse files
committed
graphql-php-v15: adjust for changed error message
1 parent f072971 commit 94aa71c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/GraphQLTest.php

+1-1
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)