aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-24 09:38:20 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-24 09:38:20 +0100
commit003cc2b45a585d3739daf3219fced21ca256f904 (patch)
treed126bcc7012d671c75e2569aec0425982c765eef /tests/Core
parent5b0f7f7501f3705f112216771f2e4971a9885096 (diff)
downloadnextcloud-server-003cc2b45a585d3739daf3219fced21ca256f904.tar.gz
nextcloud-server-003cc2b45a585d3739daf3219fced21ca256f904.zip
Fix tests failures (number of calls differed with last rebase)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index b10a042059d..ae033582d3c 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -249,7 +249,7 @@ class LoginControllerTest extends TestCase {
],
]
);
- $this->initialStateService->expects($this->exactly(10))
+ $this->initialStateService->expects($this->exactly(11))
->method('provideInitialState')
->withConsecutive([
'core',
@@ -260,19 +260,19 @@ class LoginControllerTest extends TestCase {
'This community release of Nextcloud is unsupported and push notifications are limited.',
],
],
- [
- 'core',
- 'loginErrors',
[
- 'ErrorArray1',
- 'ErrorArray2',
+ 'core',
+ 'loginErrors',
+ [
+ 'ErrorArray1',
+ 'ErrorArray2',
+ ],
],
- ],
- [
- 'core',
- 'loginUsername',
- '',
- ]);
+ [
+ 'core',
+ 'loginUsername',
+ '',
+ ]);
$expectedResponse = new TemplateResponse(
'core',
@@ -291,7 +291,7 @@ class LoginControllerTest extends TestCase {
->expects($this->once())
->method('isLoggedIn')
->willReturn(false);
- $this->initialStateService->expects($this->exactly(11))
+ $this->initialStateService->expects($this->exactly(12))
->method('provideInitialState')
->withConsecutive([], [], [], [
'core',
@@ -362,7 +362,7 @@ class LoginControllerTest extends TestCase {
->method('get')
->with('LdapUser')
->willReturn($user);
- $this->initialStateService->expects($this->exactly(10))
+ $this->initialStateService->expects($this->exactly(11))
->method('provideInitialState')
->withConsecutive([], [], [
'core',
@@ -412,7 +412,7 @@ class LoginControllerTest extends TestCase {
->method('get')
->with('0')
->willReturn($user);
- $this->initialStateService->expects($this->exactly(10))
+ $this->initialStateService->expects($this->exactly(11))
->method('provideInitialState')
->withConsecutive([], [], [], [
'core',