aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2024-01-08 17:30:29 +0100
committerLouis Chemineau <louis@chmn.me>2024-01-08 19:09:48 +0100
commitdb1131315218cb5adeede473a9316b42cdc869a4 (patch)
tree3895df3bd5a10c8e5aba7ccea1a83db9882e1823 /tests
parentdd8297553c59cac22571b716cc519e8638158bc8 (diff)
downloadnextcloud-server-db1131315218cb5adeede473a9316b42cdc869a4.tar.gz
nextcloud-server-db1131315218cb5adeede473a9316b42cdc869a4.zip
Fix tests after slow logout fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php5
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');