Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-07 02:24:47 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-07 02:24:47 +0300
commitf012d8240fc95af570496672600a2b8cdd54cb95 (patch)
treec7f66c5c939c8884c4f96fc16bdc84b9c82b4e56 /tests/_bootstrap.php
parenta1c882b5fbfc2af2ec2f07353b5ea0112641e6d6 (diff)
Whitelist the app for tests
Diffstat (limited to 'tests/_bootstrap.php')
-rw-r--r--tests/_bootstrap.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php
index 0ab5b7b7..5ebd3cb1 100644
--- a/tests/_bootstrap.php
+++ b/tests/_bootstrap.php
@@ -16,10 +16,11 @@ define('PHPUNIT_RUN', 1);
require_once __DIR__ . '/../../../lib/base.php';
OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
+OC::$loader->addValidRoot(__DIR__ . '/../');
Autoload::addNamespace('Test', '/../../../tests/lib');
// load minimum set of apps
-OC_App::loadApps(array('authentication'));
-OC_App::loadApps(array('filesystem', 'logging'));
+OC_App::loadApps(['authentication']);
+OC_App::loadApps(['filesystem', 'logging']);
OC_Hook::clear();