summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-01-18 08:13:57 -0800
committerMorris Jobke <morris.jobke@gmail.com>2014-01-18 08:13:57 -0800
commit3a2e03a7f0a0f07511282365df6e05cfd6b2f532 (patch)
treeed8277e548a20030b9e684a9798f26141b79eb05 /tests
parent419d2d27e8ce38c1ede455a24ad20ac27fd177b0 (diff)
parent817b49af581631ea641716291e2e5def44ec8c5d (diff)
downloadnextcloud-server-3a2e03a7f0a0f07511282365df6e05cfd6b2f532.tar.gz
nextcloud-server-3a2e03a7f0a0f07511282365df6e05cfd6b2f532.zip
Merge pull request #6784 from owncloud/fix-activation-of-unknown-apps
Fix activation of unknown apps
Diffstat (limited to 'tests')
-rw-r--r--tests/enable_all.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/enable_all.php b/tests/enable_all.php
index 4f2fe5cdb60..d54418ff8e4 100644
--- a/tests/enable_all.php
+++ b/tests/enable_all.php
@@ -8,16 +8,16 @@
require_once __DIR__.'/../lib/base.php';
-OC_App::enable('files_sharing');
-OC_App::enable('files_encryption');
-OC_App::enable('user_ldap');
-OC_App::enable('calendar');
-OC_App::enable('contacts');
-OC_App::enable('apptemplateadvanced');
-OC_App::enable('appframework');
-#OC_App::enable('files_archive');
-#OC_App::enable('mozilla_sync');
-#OC_App::enable('news');
-#OC_App::enable('provisioning_api');
-#OC_App::enable('user_external');
+function enableApp($app) {
+ try {
+ OC_App::enable($app);
+ } catch (Exception $e) {
+ echo $e;
+ }
+}
+
+enableApp('files_sharing');
+enableApp('files_encryption');
+//enableApp('files_external');
+enableApp('user_ldap');