File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ /**
6+ * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
7+ * SPDX-License-Identifier: AGPL-3.0-or-later
8+ */
9+
10+ require_once __DIR__ . '/../lib/base.php ' ;
11+
12+ /**
13+ * This is a file that applications can require to be able to autoload the class Test\TestCase from Nextcloud tests
14+ */
15+
16+ \OC ::$ composerAutoloader ->addPsr4 ('Test \\' , OC ::$ SERVERROOT . '/tests/lib/ ' , true );
Original file line number Diff line number Diff line change 88}
99
1010require_once __DIR__ . '/../lib/base.php ' ;
11+ require_once __DIR__ . '/autoload.php ' ;
1112
12- \OC ::$ composerAutoloader ->addPsr4 ('Test \\' , OC ::$ SERVERROOT . '/tests/lib/ ' , true );
1313\OC ::$ composerAutoloader ->addPsr4 ('Tests \\' , OC ::$ SERVERROOT . '/tests/ ' , true );
1414
1515// load all enabled apps
You can’t perform that action at this time.
0 commit comments