Skip to content

Commit

Permalink
qa: add missing line-break to assertion message as it exceeded 120 ch…
Browse files Browse the repository at this point in the history
…aracters

Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Apr 6, 2023
1 parent dafe22c commit f048286
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,11 @@ public function testWillFilterXForwardedHostPortWithPreservingForwardedPort(): v
$filteredRequest = $filter($request);
$uri = $filteredRequest->getUri();
self::assertSame('example.org', $uri->getHost());
self::assertNull($uri->getPort(), 'Port is omitted due to the fact that `https` protocol was used and port 80 is being ignored due to the availability of `X-Forwarded-Port');
self::assertNull(
$uri->getPort(),
'Port is omitted due to the fact that `https` protocol was used and port 80 is being ignored due'
. ' to the availability of `X-Forwarded-Port'
);
}

public function testWillFilterXForwardedHostPort(): void
Expand Down

0 comments on commit f048286

Please sign in to comment.