From f22909b8ed4bf2554bbde739899268c898dbe368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Wed, 23 Sep 2026 12:00:39 +0200 Subject: [PATCH] fix: Remove legacy method calls from tests/bootstrap.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- tests/bootstrap.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 6d2aca23..40575171 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,17 +1,18 @@ addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true); -\OC::$composerAutoloader->addPsr4('Tests\\', OC::$SERVERROOT . '/tests/', true); - -OC_App::loadApp('external'); - -OC_Hook::clear(); +Server::get(IAppManager::class)->loadApp('external');