From 4aed4699efc493be1652254ae8d5b779b98e542e Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Wed, 2 Sep 2015 12:21:44 +0200 Subject: [PATCH] Add tests to the list of allowed paths --- tests/bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index b2af86bd7..b07f0a0f4 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -4,6 +4,7 @@ define('PHPUNIT_RUN', 1); require_once __DIR__.'/../../../lib/base.php'; require_once __DIR__.'/../vendor/autoload.php'; +\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); if(!class_exists('PHPUnit_Framework_TestCase')) { require_once('PHPUnit/Autoload.php');