diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-07 02:24:47 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-07 02:24:47 +0300 |
commit | f012d8240fc95af570496672600a2b8cdd54cb95 (patch) | |
tree | c7f66c5c939c8884c4f96fc16bdc84b9c82b4e56 /tests | |
parent | a1c882b5fbfc2af2ec2f07353b5ea0112641e6d6 (diff) |
Whitelist the app for tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/_bootstrap.php | 5 |
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(); |