Skip to content

Commit b0b5a42

Browse files
author
Cal Wing
committed
Fix port in tests
1 parent 910dd2b commit b0b5a42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/OpenIDConnectClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ public function testGetRedirectURL()
111111
self::assertSame('https://domain.test:8888/path/index.php', $client->getRedirectURL());
112112

113113
$_SERVER['HTTP_X_FORWARDED_HOST'] = 'example.org';
114-
self::assertSame('https://example.org:9999/path/index.php', $client->getRedirectURL());
114+
self::assertSame('https://example.org:8888/path/index.php', $client->getRedirectURL());
115115

116116
$_SERVER['HTTP_X_FORWARDED_PREFIX'] = '/prefix';
117-
self::assertSame('https://example.org:9999/prefix/path/index.php', $client->getRedirectURL());
117+
self::assertSame('https://example.org:8888/prefix/path/index.php', $client->getRedirectURL());
118118
}
119119

120120
public function testAuthenticateDoesNotThrowExceptionIfClaimsIsMissingNonce()

0 commit comments

Comments
 (0)