Skip to content

Commit fc6a543

Browse files
authored
Merge pull request #11217 from nextcloud/test/server-autoloader-bootstrap
test: adjust server test autoloading
2 parents c4ddfe3 + 65884c8 commit fc6a543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
*/
99
define('PHPUNIT_RUN', 1);
1010

11+
require_once __DIR__ . '/../../../tests/autoload.php';
1112
require_once __DIR__ . '/../../../lib/base.php';
1213
require_once __DIR__ . '/../vendor/autoload.php';
1314

14-
\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
1515
\OC_App::loadApp('mail');
1616

1717
OC_Hook::clear();

0 commit comments

Comments
 (0)