File tree Expand file tree Collapse file tree 3 files changed +6
-41
lines changed
Expand file tree Collapse file tree 3 files changed +6
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <?php
2+ namespace Authwave \ProviderUri ;
3+
4+ class ProfileUri extends AbstractProviderUri {
5+
6+ }
Original file line number Diff line number Diff line change @@ -82,29 +82,6 @@ public function testLogoutClearsSession() {
8282 self ::assertEmpty ($ _SESSION );
8383 }
8484
85- public function testLogoutRedirectsToCurrentPath () {
86- $ _SESSION = [];
87- $ currentPath = "/current/example/path " ;
88-
89- $ redirectHandler = self ::createMock (RedirectHandler::class);
90- $ redirectHandler ->expects (self ::once ())
91- ->method ("redirect " )
92- ->with (self ::callback (fn (UriInterface $ uri ) =>
93- $ uri ->getHost () === AuthUri::DEFAULT_BASE_REMOTE_URI
94- && $ uri ->getPath () === LogoutUri::PATH_LOGOUT
95- && $ uri ->getQuery () === "returnTo= " . urlencode ($ currentPath )
96- ));
97-
98- $ sut = new Authenticator (
99- "test-key " ,
100- $ currentPath ,
101- AuthUri::DEFAULT_BASE_REMOTE_URI ,
102- null ,
103- $ redirectHandler
104- );
105- $ sut ->logout ();
106- }
107-
10885 public function testLoginRedirects () {
10986 $ _SESSION = [];
11087
You can’t perform that action at this time.
0 commit comments