Add PSR-4 loading for Test\ and Tests\
This commit is contained in:
parent
f8180391fd
commit
54250ed065
|
@ -8,6 +8,8 @@ if ($configDir) {
|
||||||
|
|
||||||
require_once __DIR__ . '/../lib/base.php';
|
require_once __DIR__ . '/../lib/base.php';
|
||||||
|
|
||||||
|
\OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true);
|
||||||
|
\OC::$composerAutoloader->addPsr4('Tests\\', OC::$SERVERROOT . '/tests/', true);
|
||||||
\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
|
\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
|
||||||
|
|
||||||
// load all enabled apps
|
// load all enabled apps
|
||||||
|
|
Loading…
Reference in New Issue