aboutsummaryrefslogtreecommitdiffstats
path: root/tests/enable_all.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-10-27 20:13:15 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-10-31 17:17:45 +0100
commit8d83e239f321ef63e08c2c1a6658449c7376c46f (patch)
tree277603816fcc000d008be6c7ac84c108300b4d9b /tests/enable_all.php
parent32cf661215fb3926789054a3953b465fc2665330 (diff)
downloadnextcloud-server-8d83e239f321ef63e08c2c1a6658449c7376c46f.tar.gz
nextcloud-server-8d83e239f321ef63e08c2c1a6658449c7376c46f.zip
Fix tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
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;
}