diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 216f1f551..327688ebf 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,19 +1,20 @@ addValidRoot(OC::$SERVERROOT . '/tests'); - -// Fix for "Autoload path not allowed: .../firstrunwizard/*.php" -\OC_App::loadApp('firstrunwizard'); - -OC_Hook::clear(); +Server::get(IAppManager::class)->loadApp('firstrunwizard');