summaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index ba136a15..34f9a6d5 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -9,4 +9,8 @@
* @copyright Bernhard Posselt 2016
*/
-require_once __DIR__ . '/../../../tests/bootstrap.php';
+require_once __DIR__.'/../../../lib/base.php';
+require_once __DIR__.'/../vendor/autoload.php';
+
+\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
+\OC_App::loadApp('contacts');