Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>pull/53893/head
parent
7127ac4b43
commit
956924bdc9
@ -1,18 +1,21 @@ |
||||
<?php |
||||
|
||||
declare(strict_types=1); |
||||
|
||||
/** |
||||
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors |
||||
* SPDX-FileCopyrightText: 2016 ownCloud, Inc. |
||||
* SPDX-License-Identifier: AGPL-3.0-only |
||||
*/ |
||||
|
||||
use OCP\App\IAppManager; |
||||
use OCP\Server; |
||||
|
||||
if (!defined('PHPUNIT_RUN')) { |
||||
define('PHPUNIT_RUN', 1); |
||||
} |
||||
|
||||
require_once __DIR__ . '/../../../../lib/base.php'; |
||||
require_once __DIR__ . '/../../../../tests/autoload.php'; |
||||
|
||||
\OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true); |
||||
|
||||
\OC_App::loadApp('dav'); |
||||
|
||||
OC_Hook::clear(); |
||||
Server::get(IAppManager::class)->loadApp('dav'); |
||||
|
Loading…
Reference in new issue