summaryrefslogtreecommitdiffstats
path: root/tests/enable_all.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/enable_all.php')
-rw-r--r--tests/enable_all.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/enable_all.php b/tests/enable_all.php
index afea5c89665..655597be7c8 100644
--- a/tests/enable_all.php
+++ b/tests/enable_all.php
@@ -10,7 +10,7 @@ require_once __DIR__.'/../lib/base.php';
function enableApp($app) {
try {
- OC_App::enable($app);
+ (new \OC_App())->enable($app);
} catch (Exception $e) {
echo $e;
}