mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Add PSR-4 loading for Test\ and Tests\
This commit is contained in:
parent
f8180391fd
commit
54250ed065
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ if ($configDir) {
|
|||
|
||||
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');
|
||||
|
||||
// load all enabled apps
|
||||
|
|
|
|||
Loading…
Reference in a new issue