aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/Service
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2022-10-05 12:14:03 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-13 12:13:39 +0200
commitdb831359d3ad10d35536bd5f0e72ba629b828471 (patch)
tree5b953a93ef251e5ed8ea012e80e9fe1327a7b662 /apps/theming/tests/Service
parent4b46c5a5a02b6c1c77b99cf21b9ff933fabbcc35 (diff)
downloadnextcloud-server-db831359d3ad10d35536bd5f0e72ba629b828471.tar.gz
nextcloud-server-db831359d3ad10d35536bd5f0e72ba629b828471.zip
Allow to pick custom colour
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/tests/Service')
-rw-r--r--apps/theming/tests/Service/ThemesServiceTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/theming/tests/Service/ThemesServiceTest.php b/apps/theming/tests/Service/ThemesServiceTest.php
index 5a2907ec073..62f00ab0e31 100644
--- a/apps/theming/tests/Service/ThemesServiceTest.php
+++ b/apps/theming/tests/Service/ThemesServiceTest.php
@@ -68,6 +68,10 @@ class ThemesServiceTest extends TestCase {
->method('getColorPrimary')
->willReturn('#0082c9');
+ $this->themingDefaults->expects($this->any())
+ ->method('getDefaultColorPrimary')
+ ->willReturn('#0082c9');
+
$this->initThemes();
$this->themesService = new ThemesService(