Adjust tests

This commit is contained in:
Lukas Reschke 2016-07-22 14:58:30 +02:00 committed by Julius Haertl
parent f02eabb6a7
commit a494e4f712
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 4 additions and 2 deletions

View File

@ -355,10 +355,11 @@ class ThemingControllerTest extends TestCase {
$expected = new Http\DataDownloadResponse('#header .logo { $expected = new Http\DataDownloadResponse('#header .logo {
background-image: url(\'./logo?v=0\'); background-image: url(\'./logo?v=0\');
background-size: contain;
} }
#header .logo-icon { #header .logo-icon {
background-image: url(\'./logo?v=0\'); background-image: url(\'./logo?v=0\');
background-size: 62px 34px; background-size: contain;
}', 'style', 'text/css'); }', 'style', 'text/css');
$expected->cacheFor(3600); $expected->cacheFor(3600);
@$this->assertEquals($expected, $this->themingController->getStylesheet()); @$this->assertEquals($expected, $this->themingController->getStylesheet());
@ -417,10 +418,11 @@ class ThemingControllerTest extends TestCase {
$expected = new Http\DataDownloadResponse('#body-user #header,#body-settings #header,#body-public #header {background-color: #abc}#header .logo { $expected = new Http\DataDownloadResponse('#body-user #header,#body-settings #header,#body-public #header {background-color: #abc}#header .logo {
background-image: url(\'./logo?v=0\'); background-image: url(\'./logo?v=0\');
background-size: contain;
} }
#header .logo-icon { #header .logo-icon {
background-image: url(\'./logo?v=0\'); background-image: url(\'./logo?v=0\');
background-size: 62px 34px; background-size: contain;
}#body-login { }#body-login {
background-image: url(\'./loginbackground?v=0\'); background-image: url(\'./loginbackground?v=0\');
}', 'style', 'text/css'); }', 'style', 'text/css');