chore: Remove useless legacy autoloader for tests#52945
Conversation
d17c564 to
9243305
Compare
I expected apps were using tests/bootstrap.php, but it seems a lot have their own. They should be updated to use: \OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true);
\OC::$composerAutoloader->addPsr4('Tests\\', OC::$SERVERROOT . '/tests/', true);As is done is server bootstrap.php. That is still not that pretty as it depends upon |
|
What about all the community apps? |
communicate as breaking and move on ? |
Signed-off-by: Côme Chilliet <[email protected]>
d96db5c to
9560e00
Compare
|
@nickvergessen Can we merge now? |
Ref nextcloud/server#52945 Signed-off-by: Richard Steinmetz <[email protected]>
Summary
We do not need the legacy autoloader for the TestCase, because we have PSR-4 loading added in 54250ed
Checklist