Skip to content

Commit 5855f76

Browse files
committed
test: enable files_external for tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent a19dd3b commit 5855f76

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

β€Ž.github/workflows/phpunit-sqlite.ymlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
mkdir data
129129
./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
130130
./occ app:enable --force ${{ env.APP_NAME }}
131+
./occ app:enable --force files_external
131132
132133
- name: Check PHPUnit script is defined
133134
id: check_phpunit

β€Žtests/bootstrap.phpβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919
require_once __DIR__ . '/../../../lib/base.php';
2020
require_once __DIR__ . '/../vendor/autoload.php';
2121

22-
Server::get(IAppManager::class)->loadApp('maps');
22+
$appManager = Server::get(IAppManager::class);
23+
$appManager->loadApp('files_external');
24+
$appManager->loadApp('maps');

0 commit comments

Comments
Β (0)