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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-08-18 16:35:02 +0300
committerRobin Appelman <icewind@owncloud.com>2015-09-01 16:03:28 +0300
commite9b91b1798fde385aafc0512865b1c11b0249069 (patch)
treee8030335454fcfc4f3720af6a16f81a7531614df /tests/bootstrap.php
parent0d4562c938e5dd2bb6b3a0d7fd9a446464cbcfe7 (diff)
verify the path in the autoloader
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php2
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'));