Add PSR-4 loading for Test\ and Tests\

remotes/origin/throw-loginexception-failed-login
Joas Schilling 8 years ago
parent f8180391fd
commit 54250ed065
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946

@ -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…
Cancel
Save