diff options
author | Joas Schilling <coding@schilljs.com> | 2025-05-23 20:11:56 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2025-06-06 14:36:29 +0200 |
commit | be0fbacfdf7dbf848aaf4cd3f8383bc880bfff7e (patch) | |
tree | b5dd0d930c4513b2e47b4b1ba23871ea9c6c8344 /tests | |
parent | b9984cb3ef9853b3eb79eea96c4ac6b54d959163 (diff) | |
download | nextcloud-server-be0fbacfdf7dbf848aaf4cd3f8383bc880bfff7e.tar.gz nextcloud-server-be0fbacfdf7dbf848aaf4cd3f8383bc880bfff7e.zip |
test: Enable all default apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/enable_all.php | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/enable_all.php b/tests/enable_all.php index 54e5614e55a..b9320fa4edf 100644 --- a/tests/enable_all.php +++ b/tests/enable_all.php @@ -15,13 +15,11 @@ function enableApp($app) { } } -enableApp('files_sharing'); -enableApp('files_trashbin'); -enableApp('encryption'); -enableApp('user_ldap'); -enableApp('files_versions'); -enableApp('provisioning_api'); -enableApp('federation'); -enableApp('federatedfilesharing'); -enableApp('admin_audit'); -enableApp('webhook_listeners'); +foreach (new \DirectoryIterator(__DIR__ . '/../apps/') as $file) { + if ($file->isDot()) { + continue; + } + if (!file_exists($file->getPathname() . '/.git')) { + enableApp($file->getFilename()); + } +} |