From 65884c8405fc7682eb8fdf2b1733f7c239c50028 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 2 Jun 2025 07:33:37 +0200 Subject: [PATCH] test: adjust server test autoloading Signed-off-by: Christoph Wurst --- tests/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 972e45933b..22eaad39b1 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -8,10 +8,10 @@ */ define('PHPUNIT_RUN', 1); +require_once __DIR__ . '/../../../tests/autoload.php'; require_once __DIR__ . '/../../../lib/base.php'; require_once __DIR__ . '/../vendor/autoload.php'; -\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); \OC_App::loadApp('mail'); OC_Hook::clear();