From e962d3fba4430f3a13cda70db9009784fc24112a Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Wed, 28 Sep 2022 02:35:51 +0000 Subject: Use color preset of shipped background as primary color Signed-off-by: Christopher Ng --- apps/theming/tests/Themes/DefaultThemeTest.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/theming/tests/Themes/DefaultThemeTest.php') diff --git a/apps/theming/tests/Themes/DefaultThemeTest.php b/apps/theming/tests/Themes/DefaultThemeTest.php index 84430360897..c1de2810396 100644 --- a/apps/theming/tests/Themes/DefaultThemeTest.php +++ b/apps/theming/tests/Themes/DefaultThemeTest.php @@ -32,6 +32,7 @@ use OCP\Files\IAppData; use OCP\IConfig; use OCP\IL10N; use OCP\IURLGenerator; +use OCP\IUserSession; use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; @@ -52,6 +53,7 @@ class DefaultThemeTest extends TestCase { protected function setUp(): void { $this->themingDefaults = $this->createMock(ThemingDefaults::class); + $this->userSession = $this->createMock(IUserSession::class); $this->urlGenerator = $this->createMock(IURLGenerator::class); $this->imageManager = $this->createMock(ImageManager::class); $this->config = $this->createMock(IConfig::class); @@ -85,6 +87,7 @@ class DefaultThemeTest extends TestCase { $this->defaultTheme = new DefaultTheme( $util, $this->themingDefaults, + $this->userSession, $this->urlGenerator, $this->imageManager, $this->config, -- cgit v1.2.3