Add tests to the list of allowed paths
This commit is contained in:
Родитель
d78bfc0bfe
Коммит
4aed4699ef
|
@ -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');
|
||||
|
|
Загрузка…
Ссылка в новой задаче