summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 09:22:29 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 10:16:08 +0200
commit2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (patch)
treea3da09ffec08d6c8abc3bf0fabb7f8c8a1c830f6 /tests/Core/Controller
parent1575bd838f2e938b18b04bcdcc28e2fc24d95c45 (diff)
downloadnextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.tar.gz
nextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.zip
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Core/Controller')
-rw-r--r--tests/Core/Controller/CSRFTokenControllerTest.php2
-rw-r--r--tests/Core/Controller/LoginControllerTest.php12
-rw-r--r--tests/Core/Controller/LostControllerTest.php4
3 files changed, 9 insertions, 9 deletions
diff --git a/tests/Core/Controller/CSRFTokenControllerTest.php b/tests/Core/Controller/CSRFTokenControllerTest.php
index a02f84832e5..88e54ee864a 100644
--- a/tests/Core/Controller/CSRFTokenControllerTest.php
+++ b/tests/Core/Controller/CSRFTokenControllerTest.php
@@ -67,7 +67,7 @@ class CSRFTokenControllerTest extends TestCase {
$this->assertSame(Http::STATUS_OK, $response->getStatus());
$this->assertEquals([
'token' => 'toktok123'
- ], $response->getData());
+ ], $response->getData());
}
public function testGetTokenNoStrictSameSiteCookie(): void {
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index c1177d84e1e..4b2511b9ab1 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -322,9 +322,9 @@ class LoginControllerTest extends TestCase {
->expects($this->exactly(2))
->method('getSystemValue')
->willReturnMap([
- ['login_form_autocomplete', true, true],
- ['lost_password_link', '', false],
- ]);
+ ['login_form_autocomplete', true, true],
+ ['lost_password_link', '', false],
+ ]);
$user = $this->createMock(IUser::class);
$user
->expects($this->once())
@@ -370,9 +370,9 @@ class LoginControllerTest extends TestCase {
->expects($this->exactly(2))
->method('getSystemValue')
->willReturnMap([
- ['login_form_autocomplete', true, true],
- ['lost_password_link', '', false],
- ]);
+ ['login_form_autocomplete', true, true],
+ ['lost_password_link', '', false],
+ ]);
$user = $this->createMock(IUser::class);
$user->expects($this->once())
->method('canChangePassword')
diff --git a/tests/Core/Controller/LostControllerTest.php b/tests/Core/Controller/LostControllerTest.php
index 750547473b1..4c416947008 100644
--- a/tests/Core/Controller/LostControllerTest.php
+++ b/tests/Core/Controller/LostControllerTest.php
@@ -695,7 +695,7 @@ class LostControllerTest extends \Test\TestCase {
$expectedResponse = [
'status' => 'error',
'msg' => 'Couldn\'t reset password because the token is invalid'
- ];
+ ];
$this->assertSame($expectedResponse, $response);
}
@@ -734,7 +734,7 @@ class LostControllerTest extends \Test\TestCase {
$expectedResponse = [
'status' => 'error',
'msg' => 'Couldn\'t reset password because the token is invalid'
- ];
+ ];
$this->assertSame($expectedResponse, $response);
}