File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 11<?php
22
3+ declare (strict_types=1 );
4+
35/**
46 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
57 * SPDX-License-Identifier: AGPL-3.0-or-later
68 */
9+
710if (!defined ('PHPUNIT_RUN ' )) {
811 define ('PHPUNIT_RUN ' , 1 );
912}
1013
11- require_once __DIR__ . '/../../../../../lib/base.php ' ;
14+ use OCP \App \IAppManager ;
15+ use OCP \Server ;
1216
13- \OC ::$ composerAutoloader ->addPsr4 ('Test \\' , OC ::$ SERVERROOT . '/tests/lib/ ' , true );
17+ require_once __DIR__ . '/../../../../../lib/base.php ' ;
18+ require_once __DIR__ . '/../../../../../tests/autoload.php ' ;
19+ require_once __DIR__ . '/../../../vendor/autoload.php ' ;
1420
15- \OC_App:: loadApp ('calendar ' );
21+ Server:: get (IAppManager::class)-> loadApp ('calendar ' );
1622
1723OC_Hook::clear ();
You can’t perform that action at this time.
0 commit comments