fix tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
62f1156a56
commit
850e2256f3
|
@ -814,6 +814,7 @@ class ThemingControllerTest extends TestCase {
|
|||
url: "",
|
||||
slogan: "",
|
||||
color: "#000",
|
||||
imprintUrl: null,
|
||||
inverted: false,
|
||||
cacheBuster: null
|
||||
};
|
||||
|
@ -848,6 +849,7 @@ class ThemingControllerTest extends TestCase {
|
|||
url: "nextcloudurl",
|
||||
slogan: "awesome",
|
||||
color: "#ffffff",
|
||||
imprintUrl: null,
|
||||
inverted: true,
|
||||
cacheBuster: null
|
||||
};
|
||||
|
|
|
@ -81,6 +81,10 @@ class AdminTest extends TestCase {
|
|||
->expects($this->once())
|
||||
->method('getBaseUrl')
|
||||
->willReturn('https://example.com');
|
||||
$this->themingDefaults
|
||||
->expects($this->once())
|
||||
->method('getImprintUrl')
|
||||
->willReturn('');
|
||||
$this->themingDefaults
|
||||
->expects($this->once())
|
||||
->method('getSlogan')
|
||||
|
@ -105,6 +109,7 @@ class AdminTest extends TestCase {
|
|||
'canThemeIcons' => null,
|
||||
'iconDocs' => null,
|
||||
'images' => [],
|
||||
'imprintUrl' => '',
|
||||
];
|
||||
|
||||
$expected = new TemplateResponse('theming', 'settings-admin', $params, '');
|
||||
|
@ -130,6 +135,10 @@ class AdminTest extends TestCase {
|
|||
->expects($this->once())
|
||||
->method('getBaseUrl')
|
||||
->willReturn('https://example.com');
|
||||
$this->themingDefaults
|
||||
->expects($this->once())
|
||||
->method('getImprintUrl')
|
||||
->willReturn('');
|
||||
$this->themingDefaults
|
||||
->expects($this->once())
|
||||
->method('getSlogan')
|
||||
|
@ -154,6 +163,7 @@ class AdminTest extends TestCase {
|
|||
'canThemeIcons' => null,
|
||||
'iconDocs' => '',
|
||||
'images' => [],
|
||||
'imprintUrl' => '',
|
||||
];
|
||||
|
||||
$expected = new TemplateResponse('theming', 'settings-admin', $params, '');
|
||||
|
|
Loading…
Reference in New Issue