]> source.dussan.org Git - nextcloud-server.git/commitdiff
Unify DataResponse format with its uses in the rest of the file
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 10 Aug 2017 10:31:30 +0000 (12:31 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 10 Aug 2017 11:42:42 +0000 (13:42 +0200)
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
apps/theming/tests/Controller/ThemingControllerTest.php

index 5fa8dc519398e5aac1f73c1e6d756d124a31c683..a5a8798217dce1b35351f6dd73a17d48f6d2088b 100644 (file)
@@ -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));
        }