diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-10-08 00:52:09 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-10-11 16:25:42 +0000 |
commit | 46ee6201503d33a10328e200e51d591dacd11f46 (patch) | |
tree | 11c18751e62d92bb0c51cefe2b994a24638729e6 /apps/theming/tests/Controller | |
parent | 8d05e180bc29dbe0d546fd46d16339ced60c4228 (diff) | |
download | nextcloud-server-46ee6201503d33a10328e200e51d591dacd11f46.tar.gz nextcloud-server-46ee6201503d33a10328e200e51d591dacd11f46.zip |
Fix excessive increase of cachebuster value
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/theming/tests/Controller')
-rw-r--r-- | apps/theming/tests/Controller/UserThemeControllerTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/theming/tests/Controller/UserThemeControllerTest.php b/apps/theming/tests/Controller/UserThemeControllerTest.php index a6f73a087fc..851dbec38eb 100644 --- a/apps/theming/tests/Controller/UserThemeControllerTest.php +++ b/apps/theming/tests/Controller/UserThemeControllerTest.php @@ -33,6 +33,7 @@ use OCA\Theming\Themes\DyslexiaFont; use OCA\Theming\Themes\HighContrastTheme; use OCA\Theming\Service\ThemesService; use OCA\Theming\Themes\LightTheme; +use OCA\Theming\ThemingDefaults; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\OCS\OCSBadRequestException; use OCP\IConfig; @@ -54,6 +55,8 @@ class UserThemeControllerTest extends TestCase { private $userSession; /** @var ThemeService|MockObject */ private $themesService; + /** @var ThemingDefaults */ + private $themingDefaults; /** @var BackgroundService|MockObject */ private $backgroundService; @@ -66,6 +69,7 @@ class UserThemeControllerTest extends TestCase { $this->config = $this->createMock(IConfig::class); $this->userSession = $this->createMock(IUserSession::class); $this->themesService = $this->createMock(ThemesService::class); + $this->themingDefaults = $this->createMock(ThemingDefaults::class); $this->backgroundService = $this->createMock(BackgroundService::class); $this->themes = [ @@ -91,6 +95,7 @@ class UserThemeControllerTest extends TestCase { $this->config, $this->userSession, $this->themesService, + $this->themingDefaults, $this->backgroundService, ); |