summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-24 09:52:05 +0200
committerJoas Schilling <coding@schilljs.com>2016-08-24 09:52:05 +0200
commitc7c53aefb2cefde1dabcf38534950e7a95cad542 (patch)
treec5b24e0cadd5ac8f4f4ef169fd567ec6ad63d88f /apps
parent80fe499707b280424fd032c33dcb3ff956e3a282 (diff)
downloadnextcloud-server-c7c53aefb2cefde1dabcf38534950e7a95cad542.tar.gz
nextcloud-server-c7c53aefb2cefde1dabcf38534950e7a95cad542.zip
Use the lazy root to make tests pass 🙈
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/lib/ThemingDefaults.php4
-rw-r--r--apps/theming/tests/ThemingDefaultsTest.php2
2 files changed, 1 insertions, 5 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 0314b06b849..9139dd56247 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -23,14 +23,11 @@
namespace OCA\Theming;
-
-
use OCP\IConfig;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Files\IRootFolder;
-
class ThemingDefaults extends \OC_Defaults {
/** @var IConfig */
@@ -57,6 +54,7 @@ class ThemingDefaults extends \OC_Defaults {
* @param IL10N $l
* @param IURLGenerator $urlGenerator
* @param \OC_Defaults $defaults
+ * @param IRootFolder $rootFolder
*/
public function __construct(IConfig $config,
IL10N $l,
diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php
index 0aa88c3115e..ffa6810ffde 100644
--- a/apps/theming/tests/ThemingDefaultsTest.php
+++ b/apps/theming/tests/ThemingDefaultsTest.php
@@ -78,8 +78,6 @@ class ThemingDefaultsTest extends TestCase {
$this->defaults,
$this->rootFolder
);
-
- //return parent::setUp();
}
public function testGetNameWithDefault() {