Skip to content

Commit eceb0db

Browse files
author
oparoz
committed
Fix tests
1 parent 839ee5e commit eceb0db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/theming/tests/lib/controller/ThemingControllerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public function testGetStylesheetWithOnlyColor() {
323323
->with('theming', 'backgroundMime', '')
324324
->willReturn('');
325325

326-
$expected = new Http\DataDownloadResponse('#body-user #header,#body-settings #header,#body-public #header {background-color: #fff}', 'style.css', 'text/css');
326+
$expected = new Http\DataDownloadResponse('#body-user #header,#body-settings #header,#body-public #header {background-color: #fff}', 'style', 'text/css');
327327
$expected->cacheFor(3600);
328328
@$this->assertEquals($expected, $this->themingController->getStylesheet());
329329
}
@@ -356,7 +356,7 @@ public function testGetStylesheetWithOnlyHeaderLogo() {
356356
#header .logo-icon {
357357
background-image: url(\'./logo?v=0\');
358358
background-size: 62px 34px;
359-
}', 'style.css', 'text/css');
359+
}', 'style', 'text/css');
360360
$expected->cacheFor(3600);
361361
@$this->assertEquals($expected, $this->themingController->getStylesheet());
362362
}
@@ -385,7 +385,7 @@ public function testGetStylesheetWithOnlyBackgroundLogin() {
385385

386386
$expected = new Http\DataDownloadResponse('#body-login {
387387
background-image: url(\'./loginbackground?v=0\');
388-
}', 'style.css', 'text/css');
388+
}', 'style', 'text/css');
389389
$expected->cacheFor(3600);
390390
@$this->assertEquals($expected, $this->themingController->getStylesheet());
391391
}
@@ -420,7 +420,7 @@ public function testGetStylesheetWithAllCombined() {
420420
background-size: 62px 34px;
421421
}#body-login {
422422
background-image: url(\'./loginbackground?v=0\');
423-
}', 'style.css', 'text/css');
423+
}', 'style', 'text/css');
424424
$expected->cacheFor(3600);
425425
@$this->assertEquals($expected, $this->themingController->getStylesheet());
426426
}

0 commit comments

Comments
 (0)