We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3548710 commit 50495cbCopy full SHA for 50495cb
tests/Unit/AutomatedPersistedQueriesTest.php
@@ -139,23 +139,8 @@ public function testPersistedQueryFound(): void
139
140
$content = $response->json();
141
142
- $expected = [
143
- 'errors' => [
144
- [
145
- 'message' => 'Syntax Error: Unexpected <EOF>',
146
- 'extensions' => [
147
- 'category' => 'graphql',
148
- ],
149
- 'locations' => [
150
151
- 'line' => 1,
152
- 'column' => 1,
153
154
155
156
157
- ];
158
- self::assertEquals($expected, $content);
+ self::assertArrayHasKey('data', $content);
+ self::assertEquals(['examples' => $this->data], $content['data']);
159
}
160
161
// This test demonstrates we don't actually check the 'version'
0 commit comments