Skip to content

Commit

Permalink
feat: redirect after login to entrance url
Browse files Browse the repository at this point in the history
  • Loading branch information
mshannaq committed Aug 17, 2023
1 parent 379a201 commit 8bf8c4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Authentication/Filters/SessionFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}

0 comments on commit 8bf8c4f

Please sign in to comment.