Skip to content

Commit

Permalink
Merge pull request #43721 from nextcloud/backport/42633/backport/4254…
Browse files Browse the repository at this point in the history
…4/stable28
  • Loading branch information
skjnldsv authored Feb 21, 2024
2 parents 38eaf42 + f1277e3 commit f6160bd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Core/Controller/LoginControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ public function testLogoutWithoutToken() {
->method('getCookie')
->with('nc_token')
->willReturn(null);
$this->request
->method('getServerProtocol')
->willReturn('https');
$this->request
->expects($this->once())
->method('isUserAgent')
Expand All @@ -166,6 +169,9 @@ public function testLogoutNoClearSiteData() {
->method('getCookie')
->with('nc_token')
->willReturn(null);
$this->request
->method('getServerProtocol')
->willReturn('https');
$this->request
->expects($this->once())
->method('isUserAgent')
Expand All @@ -186,6 +192,9 @@ public function testLogoutWithToken() {
->method('getCookie')
->with('nc_token')
->willReturn('MyLoginToken');
$this->request
->method('getServerProtocol')
->willReturn('https');
$this->request
->expects($this->once())
->method('isUserAgent')
Expand Down

0 comments on commit f6160bd

Please sign in to comment.