Skip to content

Commit e71b629

Browse files
committed
attempt to fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent d815f63 commit e71b629

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/phpunit-sqlite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
mkdir data
9090
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
9191
./occ app:enable --force ${{ env.APP_NAME }}
92+
./occ app:disable files_external
9293
9394
- name: Check PHPUnit script is defined
9495
id: check_phpunit

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
require_once __DIR__ . '/../../../tests/bootstrap.php';
77

8-
\OC::$server->get(IAppManager::class)->loadApp(Application::APP_ID);
8+
\OCP\Server::get(IAppManager::class)->loadApp(Application::APP_ID);
99
OC_Hook::clear();

0 commit comments

Comments
 (0)