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

Commit a3446e5

Browse files
committed
Fixed invalid header value in test
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.
1 parent 3fb8cc2 commit a3446e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ServerRequestFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function testMarshalUriDetectsHttpsSchemeFromServerValue($param)
295295
$request = $request->withHeader('Host', 'example.com');
296296

297297
$server = [
298-
$param => true,
298+
$param => 'on',
299299
];
300300

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

0 commit comments

Comments
 (0)