File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ declare (strict_types=1 );
4
+
3
5
/**
4
- * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
5
- * SPDX-License-Identifier: AGPL-3.0-or-later
6
+ * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
7
+ * SPDX-License-Identifier: AGPL-3.0-only
6
8
*/
7
9
8
10
use OCP \App \IAppManager ;
9
11
use OCP \Server ;
10
12
11
- require_once __DIR__ . '/../../../tests/bootstrap.php ' ;
13
+ if (!defined ('PHPUNIT_RUN ' )) {
14
+ define ('PHPUNIT_RUN ' , 1 );
15
+ }
16
+
17
+ require_once __DIR__ . '/../../../lib/base.php ' ;
18
+ require_once __DIR__ . '/../../../tests/autoload.php ' ;
12
19
13
- Server::get (IAppManager::class)->loadApps ();
14
- OC_Hook::clear ();
20
+ Server::get (IAppManager::class)->loadApp ('integration_openai ' );
You can’t perform that action at this time.
0 commit comments