Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-07 12:42:21 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-07 12:42:21 +0300
commitf65a6e782c155e30df63420a343b865d18ba213e (patch)
tree0ac982243c8871e6b00a1192a57d4d70e4c78184 /apps/theming/lib/Controller
parent132597bbd3e3e1633fa83c77c268242d5c59a4f4 (diff)
Mock the timefactory in the theming tests
Now that the cache logic is moved to the theming controller we must properly overwrite this service. Else it could do :boom: in tests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/theming/lib/Controller')
-rw-r--r--apps/theming/lib/Controller/ThemingController.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php
index c50e8a18460..99b98ab7da3 100644
--- a/apps/theming/lib/Controller/ThemingController.php
+++ b/apps/theming/lib/Controller/ThemingController.php
@@ -66,8 +66,6 @@ class ThemingController extends Controller {
private $themingDefaults;
/** @var Util */
private $util;
- /** @var ITimeFactory */
- private $timeFactory;
/** @var IL10N */
private $l10n;
/** @var IConfig */
@@ -93,7 +91,6 @@ class ThemingController extends Controller {
* @param IConfig $config
* @param ThemingDefaults $themingDefaults
* @param Util $util
- * @param ITimeFactory $timeFactory
* @param IL10N $l
* @param ITempManager $tempManager
* @param IAppData $appData
@@ -108,7 +105,6 @@ class ThemingController extends Controller {
IConfig $config,
ThemingDefaults $themingDefaults,
Util $util,
- ITimeFactory $timeFactory,
IL10N $l,
ITempManager $tempManager,
IAppData $appData,
@@ -121,7 +117,6 @@ class ThemingController extends Controller {
$this->themingDefaults = $themingDefaults;
$this->util = $util;
- $this->timeFactory = $timeFactory;
$this->l10n = $l;
$this->config = $config;
$this->tempManager = $tempManager;