Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Fixed invalid header value in test
Browse files Browse the repository at this point in the history
It is not possible that header value will be true for HTTPS.
It is `on`/`On`/`ON` when it's enabled, and `off` (apache) or empty string
(nginx) otherwise.
  • Loading branch information
michalbundyra committed Jul 11, 2019
1 parent 3fb8cc2 commit a3446e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ServerRequestFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function testMarshalUriDetectsHttpsSchemeFromServerValue($param)
$request = $request->withHeader('Host', 'example.com');

$server = [
$param => true,
$param => 'on',
];

$uri = marshalUriFromSapi($server, $request->getHeaders());
Expand Down

0 comments on commit a3446e5

Please sign in to comment.