Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeboot committed Nov 22, 2022
1 parent 31eb785 commit cae6813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Event/Http/Psr7BridgeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function assertPath(string $expected): void
protected function assertQueryString(string $expected): void
{
$this->assertEquals($expected, $this->request->getUri()->getQuery());
$this->assertEquals($expected, $this->request->getServerParams()['QUERY_STRING']);
$this->assertEquals($expected, $this->request->getServerParams()['QUERY_STRING'] ?? '');
}

protected function assertQueryParameters(array $expected): void
Expand Down

0 comments on commit cae6813

Please sign in to comment.