Skip to content

Commit be01768

Browse files
committed
Small test improvement
1 parent 973fdd8 commit be01768

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/FunctionalTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ public function testNoLoginNoSessionQuery(): void
312312

313313
$result = json_decode($response->getContent(), true);
314314

315+
$this->assertArrayHasKey('errors', $result);
315316
$this->assertSame('Cannot query field "login" on type "Mutation".', $result['errors'][0]['message']);
316317
}
317318

0 commit comments

Comments
 (0)