summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authoroparoz <owncloud@interfasys.ch>2016-07-11 14:23:43 +0200
committeroparoz <owncloud@interfasys.ch>2016-07-11 14:23:43 +0200
commiteceb0db4d2f7a952d19c61d877426060f09cb2e2 (patch)
treed1382644f75a4621e045df57b709b6fbd7a824c8 /apps
parent839ee5eac18b00ae9a66ea6ba47507a6a91bb337 (diff)
downloadnextcloud-server-eceb0db4d2f7a952d19c61d877426060f09cb2e2.tar.gz
nextcloud-server-eceb0db4d2f7a952d19c61d877426060f09cb2e2.zip
Fix tests
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/tests/lib/controller/ThemingControllerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/theming/tests/lib/controller/ThemingControllerTest.php b/apps/theming/tests/lib/controller/ThemingControllerTest.php
index 7fba27316a2..d08ebce8663 100644
--- a/apps/theming/tests/lib/controller/ThemingControllerTest.php
+++ b/apps/theming/tests/lib/controller/ThemingControllerTest.php
@@ -323,7 +323,7 @@ class ThemingControllerTest extends TestCase {
->with('theming', 'backgroundMime', '')
->willReturn('');
- $expected = new Http\DataDownloadResponse('#body-user #header,#body-settings #header,#body-public #header {background-color: #fff}', 'style.css', 'text/css');
+ $expected = new Http\DataDownloadResponse('#body-user #header,#body-settings #header,#body-public #header {background-color: #fff}', 'style', 'text/css');
$expected->cacheFor(3600);
@$this->assertEquals($expected, $this->themingController->getStylesheet());
}
@@ -356,7 +356,7 @@ class ThemingControllerTest extends TestCase {
#header .logo-icon {
background-image: url(\'./logo?v=0\');
background-size: 62px 34px;
- }', 'style.css', 'text/css');
+ }', 'style', 'text/css');
$expected->cacheFor(3600);
@$this->assertEquals($expected, $this->themingController->getStylesheet());
}
@@ -385,7 +385,7 @@ class ThemingControllerTest extends TestCase {
$expected = new Http\DataDownloadResponse('#body-login {
background-image: url(\'./loginbackground?v=0\');
- }', 'style.css', 'text/css');
+ }', 'style', 'text/css');
$expected->cacheFor(3600);
@$this->assertEquals($expected, $this->themingController->getStylesheet());
}
@@ -420,7 +420,7 @@ class ThemingControllerTest extends TestCase {
background-size: 62px 34px;
}#body-login {
background-image: url(\'./loginbackground?v=0\');
- }', 'style.css', 'text/css');
+ }', 'style', 'text/css');
$expected->cacheFor(3600);
@$this->assertEquals($expected, $this->themingController->getStylesheet());
}