Skip to content

Commit 96f2308

Browse files
committed
test force https null request and response assertion
1 parent d4be3c3 commit 96f2308

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/system/CommonFunctionsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ public function testViewNotSaveData()
444444

445445
public function testForceHttpsNullRequestAndResponse()
446446
{
447-
$this->assertNull(force_https());
447+
force_https();
448+
$this->assertEquals('https://example.com', Services::response()->getHeader('Location')->getValue());
448449
}
449450

450451
}

0 commit comments

Comments
 (0)