nextcloud/tests/autoload.php
Côme Chilliet 4574710c11
chore: Add an autoload.php file for tests relying on core class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-19 11:30:37 +02:00

16 lines
415 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
require_once __DIR__ . '/../lib/base.php';
/**
* This is a file that applications can require to be able to autoload the class Test\TestCase from Nextcloud tests
*/
\OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true);