diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-19 15:49:27 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-19 15:49:27 +0200 |
commit | 54250ed06554cb59683f5c03a1e4529660febc52 (patch) | |
tree | 30c9c16033172a98d48e7861687d051d7b2483e9 /tests/bootstrap.php | |
parent | f8180391fd668ec8e4cb6366bf43682ced99509b (diff) | |
download | nextcloud-server-54250ed06554cb59683f5c03a1e4529660febc52.tar.gz nextcloud-server-54250ed06554cb59683f5c03a1e4529660febc52.zip |
Add PSR-4 loading for Test\ and Tests\
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r-- | tests/bootstrap.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 86bedc3f325..e2b980b1c80 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -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 |