Skip to content

Conversation

@provokateurin
Copy link
Member

Signed-off-by: provokateurin <kate@provokateurin.de>
\OC::$composerAutoloader->addPsr4('Tests\\', OC::$SERVERROOT . '/tests/unit/', true);
require_once __DIR__ . '/../../../tests/autoload.php';

\OC_App::loadApp('circles');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally also switch to IAppManager, OC_App is legacy and deprecated, will be removed in a future version.

Also clearing the hooks should be avoided.

@provokateurin provokateurin merged commit 14a02c3 into master Jun 2, 2025
30 of 34 checks passed
@provokateurin provokateurin deleted the test/fix-autoloading branch June 2, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants