diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-08-18 15:35:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-09-01 15:03:28 +0200 |
commit | e9b91b1798fde385aafc0512865b1c11b0249069 (patch) | |
tree | e8030335454fcfc4f3720af6a16f81a7531614df /tests/bootstrap.php | |
parent | 0d4562c938e5dd2bb6b3a0d7fd9a446464cbcfe7 (diff) | |
download | nextcloud-server-e9b91b1798fde385aafc0512865b1c11b0249069.tar.gz nextcloud-server-e9b91b1798fde385aafc0512865b1c11b0249069.zip |
verify the path in the autoloader
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r-- | tests/bootstrap.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index bd94ca67754..8bca05b1a18 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -8,6 +8,8 @@ if ($configDir) { require_once __DIR__ . '/../lib/base.php'; +\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); + // load minimum set of apps OC_App::loadApps(array('authentication')); OC_App::loadApps(array('filesystem', 'logging')); |