summaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/Settings/AdminTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-05-25 09:49:36 +0200
committerGitHub <noreply@github.com>2018-05-25 09:49:36 +0200
commitd4a0af7e5ec0d0e97dda2d826574779dab82260c (patch)
treede120cb8216e59a50dde85a184a33d9a70d8ab54 /apps/theming/tests/Settings/AdminTest.php
parent60734cd79d6ceb86d45a0949f8b8d1202bcfa867 (diff)
parent0847c98aaf659a9e9ce966952820d096d3ec1f0c (diff)
downloadnextcloud-server-d4a0af7e5ec0d0e97dda2d826574779dab82260c.tar.gz
nextcloud-server-d4a0af7e5ec0d0e97dda2d826574779dab82260c.zip
Merge pull request #9593 from nextcloud/fwdport/9586/master
add privacy link to theming and fix scrollbars
Diffstat (limited to 'apps/theming/tests/Settings/AdminTest.php')
-rw-r--r--apps/theming/tests/Settings/AdminTest.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/theming/tests/Settings/AdminTest.php b/apps/theming/tests/Settings/AdminTest.php
index f7361677d77..5943866edc1 100644
--- a/apps/theming/tests/Settings/AdminTest.php
+++ b/apps/theming/tests/Settings/AdminTest.php
@@ -87,6 +87,10 @@ class AdminTest extends TestCase {
->willReturn('');
$this->themingDefaults
->expects($this->once())
+ ->method('getPrivacyUrl')
+ ->willReturn('');
+ $this->themingDefaults
+ ->expects($this->once())
->method('getSlogan')
->willReturn('MySlogan');
$this->themingDefaults
@@ -110,6 +114,7 @@ class AdminTest extends TestCase {
'iconDocs' => null,
'images' => [],
'imprintUrl' => '',
+ 'privacyUrl' => '',
];
$expected = new TemplateResponse('theming', 'settings-admin', $params, '');
@@ -141,6 +146,10 @@ class AdminTest extends TestCase {
->willReturn('');
$this->themingDefaults
->expects($this->once())
+ ->method('getPrivacyUrl')
+ ->willReturn('');
+ $this->themingDefaults
+ ->expects($this->once())
->method('getSlogan')
->willReturn('MySlogan');
$this->themingDefaults
@@ -164,6 +173,7 @@ class AdminTest extends TestCase {
'iconDocs' => '',
'images' => [],
'imprintUrl' => '',
+ 'privacyUrl' => '',
];
$expected = new TemplateResponse('theming', 'settings-admin', $params, '');