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

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-03 19:03:44 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-03 19:05:02 +0300
commite7daae24d35c8fa1b4528b3574f24009c6bc6d1b (patch)
tree97e1633cdb2fd1c22681c56f02ba41a24ddac0da /tests
parentf6c892883765112f1c841854ae8cda968741ac90 (diff)
Fix tests bootstrap to meet the new core requirements
Diffstat (limited to 'tests')
-rw-r--r--tests/_bootstrap.php1
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');