mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
Fix tests after slow logout fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
dd8297553c
commit
db11313152
1 changed files with 4 additions and 1 deletions
|
|
@ -142,10 +142,13 @@ class LoginControllerTest extends TestCase {
|
|||
->method('getCookie')
|
||||
->with('nc_token')
|
||||
->willReturn(null);
|
||||
$this->request
|
||||
->method('getServerProtocol')
|
||||
->willReturn('https');
|
||||
$this->request
|
||||
->expects($this->once())
|
||||
->method('isUserAgent')
|
||||
->willReturn(false);
|
||||
->willReturn(true);
|
||||
$this->config
|
||||
->expects($this->never())
|
||||
->method('deleteUserValue');
|
||||
|
|
|
|||
Loading…
Reference in a new issue