Skip to content

Commit

Permalink
Fix tests after slow logout fix
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Jan 8, 2024
1 parent dd82975 commit b0b4b15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Core/Controller/LoginControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ public function testLogoutWithoutToken() {
->with('nc_token')
->willReturn(null);
$this->request
->expects($this->once())
->method('isUserAgent')
->willReturn(false);
->method('getServerProtocol')
->willReturn('https');
$this->config
->expects($this->never())
->method('deleteUserValue');
Expand Down

0 comments on commit b0b4b15

Please sign in to comment.