aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/AppTest.php')
-rw-r--r--tests/lib/AppTest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/lib/AppTest.php b/tests/lib/AppTest.php
index 7ada4ec746a..22fad4ab61f 100644
--- a/tests/lib/AppTest.php
+++ b/tests/lib/AppTest.php
@@ -13,6 +13,7 @@ use OC\App\AppManager;
use OC\App\InfoParser;
use OC\AppConfig;
use OCP\IAppConfig;
+use Psr\Log\LoggerInterface;
/**
* Class AppTest
@@ -477,7 +478,7 @@ class AppTest extends \Test\TestCase {
'appforgroup2' => '["group2"]',
'appforgroup12' => '["group2","group1"]',
]
-
+
);
$apps = \OC_App::getEnabledApps(false, $forceAll);
@@ -512,7 +513,7 @@ class AppTest extends \Test\TestCase {
'app3' => 'yes',
'app2' => 'no',
]
-
+
);
$apps = \OC_App::getEnabledApps();
@@ -554,7 +555,7 @@ class AppTest extends \Test\TestCase {
\OC::$server->getGroupManager(),
\OC::$server->getMemCacheFactory(),
\OC::$server->getEventDispatcher(),
- \OC::$server->getLogger()
+ \OC::$server->get(LoggerInterface::class)
));
}