From 2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 9 Apr 2020 09:22:29 +0200 Subject: Fix (array) indent style to always use one tab Signed-off-by: Christoph Wurst --- tests/lib/AppFramework/Http/OCSResponseTest.php | 60 ++++++++++++------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'tests/lib/AppFramework/Http/OCSResponseTest.php') diff --git a/tests/lib/AppFramework/Http/OCSResponseTest.php b/tests/lib/AppFramework/Http/OCSResponseTest.php index e092cb53f58..223248c8737 100644 --- a/tests/lib/AppFramework/Http/OCSResponseTest.php +++ b/tests/lib/AppFramework/Http/OCSResponseTest.php @@ -29,42 +29,42 @@ use OCP\AppFramework\Http\OCSResponse; class OCSResponseTest extends \Test\TestCase { - public function testHeadersJSON() { - $response = new OCSResponse('json', 1, 2, 3); - $type = $response->getHeaders()['Content-Type']; - $this->assertEquals('application/json; charset=utf-8', $type); - } + public function testHeadersJSON() { + $response = new OCSResponse('json', 1, 2, 3); + $type = $response->getHeaders()['Content-Type']; + $this->assertEquals('application/json; charset=utf-8', $type); + } - public function testHeadersXML() { - $response = new OCSResponse('xml', 1, 2, 3); - $type = $response->getHeaders()['Content-Type']; - $this->assertEquals('application/xml; charset=utf-8', $type); - } + public function testHeadersXML() { + $response = new OCSResponse('xml', 1, 2, 3); + $type = $response->getHeaders()['Content-Type']; + $this->assertEquals('application/xml; charset=utf-8', $type); + } - public function testRender() { - $response = new OCSResponse( - 'xml', 2, 'message', ['test' => 'hi'], 3, 4 - ); - $out = $response->render(); - $expected = "\n" . - "\n" . - " \n" . - " failure\n" . - " 2\n" . - " message\n" . - " 3\n" . - " 4\n" . - " \n" . - " \n" . - " hi\n" . - " \n" . - "\n"; + public function testRender() { + $response = new OCSResponse( + 'xml', 2, 'message', ['test' => 'hi'], 3, 4 + ); + $out = $response->render(); + $expected = "\n" . + "\n" . + " \n" . + " failure\n" . + " 2\n" . + " message\n" . + " 3\n" . + " 4\n" . + " \n" . + " \n" . + " hi\n" . + " \n" . + "\n"; - $this->assertEquals($expected, $out); + $this->assertEquals($expected, $out); - } + } } -- cgit v1.2.3