diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 11:25:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 11:25:38 +0200 |
commit | 813bdc1ce8a45039fa17aac12bd078466a0034d0 (patch) | |
tree | a2ea40c4afc7f4c188d008d9850e795e60ae020d /tests/Core | |
parent | 21b7e510102514d85558b1863759c20171c15e28 (diff) | |
parent | 2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (diff) | |
download | nextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.tar.gz nextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.zip |
Merge pull request #20375 from nextcloud/techdebt/fix-array-indent-style
Fix (array) indent style to always use one tab
Diffstat (limited to 'tests/Core')
-rw-r--r-- | tests/Core/Controller/CSRFTokenControllerTest.php | 2 | ||||
-rw-r--r-- | tests/Core/Controller/LoginControllerTest.php | 12 | ||||
-rw-r--r-- | tests/Core/Controller/LostControllerTest.php | 4 |
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); } |