diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-07 05:14:23 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-07 05:14:23 +0300 |
commit | 1566f8d9db0d24e0bd504d3bd3c62566dbdfac8f (patch) | |
tree | 79d134b227eae2632e959db938963a3e61a17b98 /tests/_bootstrap.php | |
parent | 0392bfcc2221d19082df94495b42bc48eeee8a16 (diff) |
Found a way to load the app which works
Diffstat (limited to 'tests/_bootstrap.php')
-rw-r--r-- | tests/_bootstrap.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index 5ebd3cb1..462408ac 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -16,11 +16,14 @@ 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 +// Load minimum set of apps OC_App::loadApps(['authentication']); OC_App::loadApps(['filesystem', 'logging']); + +// Load this app +OC_App::loadApp('gallery'); + OC_Hook::clear(); |