diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-07-27 13:43:18 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-07-27 13:43:18 +0200 |
commit | c27498db7103aebac323c361007e0d8a2da16a34 (patch) | |
tree | cfe7bbb7b4abb89936ba9d35a70ef4f50d0c9213 /tests/lib | |
parent | 65ade4b6d5a942ff781dad5396387facc86a95ed (diff) | |
download | nextcloud-server-c27498db7103aebac323c361007e0d8a2da16a34.tar.gz nextcloud-server-c27498db7103aebac323c361007e0d8a2da16a34.zip |
Use IConfig instead of static OCP\Config
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/UtilTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/UtilTest.php b/tests/lib/UtilTest.php index 39a29742e4f..52d18571647 100644 --- a/tests/lib/UtilTest.php +++ b/tests/lib/UtilTest.php @@ -305,7 +305,7 @@ class UtilTest extends \Test\TestCase { * @group DB */ function testDefaultApps($defaultAppConfig, $expectedPath, $enabledApps) { - $oldDefaultApps = \OCP\Config::getSystemValue('defaultapp', ''); + $oldDefaultApps = \OC::$server->getConfig()->getSystemValue('defaultapp', ''); // CLI is doing messy stuff with the webroot, so need to work it around $oldWebRoot = \OC::$WEBROOT; \OC::$WEBROOT = ''; |