From 8d93a0db8a5040a286de5807dbecafd0b834c7c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Thu, 10 Aug 2017 12:31:30 +0200 Subject: [PATCH] Unify DataResponse format with its uses in the rest of the file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- .../tests/Controller/ThemingControllerTest.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php index 5fa8dc51939..a5a8798217d 100644 --- a/apps/theming/tests/Controller/ThemingControllerTest.php +++ b/apps/theming/tests/Controller/ThemingControllerTest.php @@ -137,12 +137,15 @@ class ThemingControllerTest extends TestCase { ->with($message) ->willReturn($message); - $expected = new DataResponse([ - 'data' => [ - 'message' => $message, - ], - 'status' => $status, - ]); + $expected = new DataResponse( + [ + 'data' => + [ + 'message' => $message, + ], + 'status' => $status, + ] + ); $this->assertEquals($expected, $this->themingController->updateStylesheet($setting, $value)); } -- 2.39.5