Procházet zdrojové kódy

Unify DataResponse format with its uses in the rest of the file

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
tags/v13.0.0beta1
Daniel Calviño Sánchez před 6 roky
rodič
revize
d7e45d45c4

+ 9
- 6
apps/theming/tests/Controller/ThemingControllerTest.php Zobrazit soubor

@@ -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));
}


Načítá se…
Zrušit
Uložit