From d7e45d45c423a3b58467309fbee4592bd0d924c6 Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Thu, 10 Aug 2017 12:31:30 +0200 Subject: Unify DataResponse format with its uses in the rest of the file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- apps/theming/tests/Controller/ThemingControllerTest.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'apps/theming/tests/Controller/ThemingControllerTest.php') 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)); } -- cgit v1.2.3