Skip to content

Commit

Permalink
Merge pull request #42633 from nextcloud/artonge/fix/drone_after_slow…
Browse files Browse the repository at this point in the history
…_logout
  • Loading branch information
come-nc authored Jan 9, 2024
2 parents 537ae25 + 2ee5c7a commit d72db91
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Core/Controller/LoginControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ public function testLogoutWithoutToken() {
->method('getCookie')
->with('nc_token')
->willReturn(null);
$this->request
->method('getServerProtocol')
->willReturn('https');
$this->request
->expects($this->once())
->method('isUserAgent')
Expand All @@ -166,6 +169,9 @@ public function testLogoutNoClearSiteData() {
->method('getCookie')
->with('nc_token')
->willReturn(null);
$this->request
->method('getServerProtocol')
->willReturn('https');
$this->request
->expects($this->once())
->method('isUserAgent')
Expand All @@ -186,6 +192,9 @@ public function testLogoutWithToken() {
->method('getCookie')
->with('nc_token')
->willReturn('MyLoginToken');
$this->request
->method('getServerProtocol')
->willReturn('https');
$this->request
->expects($this->once())
->method('isUserAgent')
Expand Down

0 comments on commit d72db91

Please sign in to comment.