summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-27 13:43:18 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-07-27 13:43:18 +0200
commitc27498db7103aebac323c361007e0d8a2da16a34 (patch)
treecfe7bbb7b4abb89936ba9d35a70ef4f50d0c9213 /tests/lib
parent65ade4b6d5a942ff781dad5396387facc86a95ed (diff)
downloadnextcloud-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.php2
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 = '';