From be0fbacfdf7dbf848aaf4cd3f8383bc880bfff7e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 23 May 2025 20:11:56 +0200 Subject: test: Enable all default apps Signed-off-by: Joas Schilling --- tests/enable_all.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'tests') 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()); + } +} -- cgit v1.2.3