diff --git a/tests/Authentication/Filters/SessionFilterTest.php b/tests/Authentication/Filters/SessionFilterTest.php index be19b16ff..41d44621b 100644 --- a/tests/Authentication/Filters/SessionFilterTest.php +++ b/tests/Authentication/Filters/SessionFilterTest.php @@ -89,5 +89,6 @@ public function testStoreRedirectsToEntraceUrlIntoSession(): void $result = $this->call('get', 'protected-route'); $result->assertRedirectTo('/login'); $this->assertNotEmpty($_SESSION['beforeLogginUrl']); + $this->assertSame(site_url('protected-route'), $_SESSION['beforeLogginUrl']); } }