Files
nextcloud-registration/tests/bootstrap.php
Thomas Citharel a049c31441 test: fix silly copy paste issue in tests bootstrap
oops

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-09-26 20:21:47 +02:00

24 lines
496 B
PHP

<?php
declare(strict_types=1);
/*
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
if (!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}
use OCP\App\IAppManager;
use OCP\Server;
require_once __DIR__ . '/../../../lib/base.php';
require_once __DIR__ . '/../../../tests/autoload.php';
require_once __DIR__ . '/../vendor/autoload.php';
Server::get(IAppManager::class)->loadApp('registration');
OC_Hook::clear();