summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-08-10 12:31:30 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-08-10 12:37:57 +0200
commitd7e45d45c423a3b58467309fbee4592bd0d924c6 (patch)
tree28f17c8259ed19a6f9b92e994983394ca7ff3f7f
parent0c8627a7ee455db673ab792b2a8add192fdc9a40 (diff)
downloadnextcloud-server-d7e45d45c423a3b58467309fbee4592bd0d924c6.tar.gz
nextcloud-server-d7e45d45c423a3b58467309fbee4592bd0d924c6.zip
Unify DataResponse format with its uses in the rest of the file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--apps/theming/tests/Controller/ThemingControllerTest.php15
1 files 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));
}