test: Enable all default apps

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/48210/head
Joas Schilling 2025-05-23 20:11:56 +07:00
parent b9984cb3ef
commit be0fbacfdf
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
1 changed files with 8 additions and 10 deletions

@ -15,13 +15,11 @@ function enableApp($app) {
} }
} }
enableApp('files_sharing'); foreach (new \DirectoryIterator(__DIR__ . '/../apps/') as $file) {
enableApp('files_trashbin'); if ($file->isDot()) {
enableApp('encryption'); continue;
enableApp('user_ldap'); }
enableApp('files_versions'); if (!file_exists($file->getPathname() . '/.git')) {
enableApp('provisioning_api'); enableApp($file->getFilename());
enableApp('federation'); }
enableApp('federatedfilesharing'); }
enableApp('admin_audit');
enableApp('webhook_listeners');