We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
index.php/
1 parent 9827e0e commit 3207842Copy full SHA for 3207842
1 file changed
tests/system/CommonFunctionsTest.php
@@ -609,7 +609,10 @@ public function testForceHttpsNullRequestAndResponse(): void
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