diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-03 19:03:44 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-03 19:05:02 +0300 |
commit | e7daae24d35c8fa1b4528b3574f24009c6bc6d1b (patch) | |
tree | 97e1633cdb2fd1c22681c56f02ba41a24ddac0da /tests | |
parent | f6c892883765112f1c841854ae8cda968741ac90 (diff) |
Fix tests bootstrap to meet the new core requirements
Diffstat (limited to 'tests')
-rw-r--r-- | tests/_bootstrap.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index 8f5f94de..0ab5b7b7 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -15,6 +15,7 @@ use Codeception\Util\Autoload; define('PHPUNIT_RUN', 1); require_once __DIR__ . '/../../../lib/base.php'; +OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); Autoload::addNamespace('Test', '/../../../tests/lib'); |