diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-08-10 12:31:30 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-08-10 12:37:57 +0200 |
commit | d7e45d45c423a3b58467309fbee4592bd0d924c6 (patch) | |
tree | 28f17c8259ed19a6f9b92e994983394ca7ff3f7f /apps/theming/tests | |
parent | 0c8627a7ee455db673ab792b2a8add192fdc9a40 (diff) | |
download | nextcloud-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>
Diffstat (limited to 'apps/theming/tests')
-rw-r--r-- | apps/theming/tests/Controller/ThemingControllerTest.php | 15 |
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)); } |