Add tests to the list of allowed paths

This commit is contained in:
Olivier Paroz 2015-09-02 12:21:44 +02:00
Родитель d78bfc0bfe
Коммит 4aed4699ef
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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');