diff options
author | Louis Chemineau <louis@chmn.me> | 2024-01-08 17:30:29 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-02-22 08:41:26 +0100 |
commit | c1ef86cbddacaa7aff19914aaf867c0e8b2bf928 (patch) | |
tree | 48d0b63b2cbb6fcc0ecd4305ff489a0dbb789997 /tests/Core/Controller | |
parent | 7e7a4ddd5c0b748a2016efc72718cd9d01cc67db (diff) | |
download | nextcloud-server-c1ef86cbddacaa7aff19914aaf867c0e8b2bf928.tar.gz nextcloud-server-c1ef86cbddacaa7aff19914aaf867c0e8b2bf928.zip |
Fix tests after slow logout fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests/Core/Controller')
-rw-r--r-- | tests/Core/Controller/LoginControllerTest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php index b427972e1ad..88bff12e233 100644 --- a/tests/Core/Controller/LoginControllerTest.php +++ b/tests/Core/Controller/LoginControllerTest.php @@ -143,9 +143,12 @@ class LoginControllerTest extends TestCase { ->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'); |