Fix tests after slow logout fix

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/42633/head
Louis Chemineau 5 months ago
parent dd8297553c
commit db11313152
No known key found for this signature in database

@ -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…
Cancel
Save