We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
index.php/
1 parent bc17936 commit 253b401Copy full SHA for 253b401
tests/system/CommonFunctionsTest.php
@@ -609,7 +609,10 @@ public function testForceHttpsNullRequestAndResponse()
609
force_https();
610
} catch (Exception $e) {
611
$this->assertInstanceOf(RedirectException::class, $e);
612
- $this->assertSame('https://example.com/', $e->getResponse()->header('Location')->getValue());
+ $this->assertSame(
613
+ 'https://example.com/index.php/',
614
+ $e->getResponse()->header('Location')->getValue()
615
+ );
616
$this->assertFalse($e->getResponse()->hasCookie('force'));
617
$this->assertSame('header', $e->getResponse()->getHeaderLine('Force'));
618
$this->assertSame('', $e->getResponse()->getBody());
0 commit comments