commit
4005e58f93
|
@ -61,7 +61,7 @@ class Admin implements ISettings {
|
||||||
$theme = $this->config->getSystemValue('theme', '');
|
$theme = $this->config->getSystemValue('theme', '');
|
||||||
if ($theme !== '') {
|
if ($theme !== '') {
|
||||||
$themable = false;
|
$themable = false;
|
||||||
$errorMessage = $this->l->t('You already use a custom theme');
|
$errorMessage = $this->l->t('You are already using a custom theme');
|
||||||
}
|
}
|
||||||
|
|
||||||
$parameters = [
|
$parameters = [
|
||||||
|
|
|
@ -112,8 +112,8 @@ class AdminTest extends TestCase {
|
||||||
$this->l10n
|
$this->l10n
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('t')
|
->method('t')
|
||||||
->with('You already use a custom theme')
|
->with('You are already using a custom theme')
|
||||||
->willReturn('You already use a custom theme');
|
->willReturn('You are already using a custom theme');
|
||||||
$this->themingDefaults
|
$this->themingDefaults
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('getEntity')
|
->method('getEntity')
|
||||||
|
@ -137,7 +137,7 @@ class AdminTest extends TestCase {
|
||||||
->willReturn('/my/route');
|
->willReturn('/my/route');
|
||||||
$params = [
|
$params = [
|
||||||
'themable' => false,
|
'themable' => false,
|
||||||
'errorMessage' => 'You already use a custom theme',
|
'errorMessage' => 'You are already using a custom theme',
|
||||||
'name' => 'MyEntity',
|
'name' => 'MyEntity',
|
||||||
'url' => 'https://example.com',
|
'url' => 'https://example.com',
|
||||||
'slogan' => 'MySlogan',
|
'slogan' => 'MySlogan',
|
||||||
|
|
Loading…
Reference in New Issue