nextcloud-server/apps/settings/tests
Ferdinand Thiessen 0563757ea4 fix(SetupCheck): Properly check public access to data directory
When checking for public (web) access to the data directory the status is not enough
as you might have a webserver that forwards to e.g. a login page.
So instead check that the content of the file matches.

For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content
to allow checking.

¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 22:08:42 +07:00
..
Activity chore: Add SPDX header 2024-06-03 20:33:31 +07:00
AppInfo chore: Add SPDX header 2024-06-03 20:33:31 +07:00
Controller test(users): Adapt tests to new admin delegation checks 2024-07-22 19:58:44 +07:00
Mailer fix: emails tests after new design fixes 2024-08-06 09:42:19 +07:00
Middleware chore: Add SPDX header 2024-06-03 20:33:31 +07:00
Settings refactor: Use `IAppConfig` for setting cron type 2024-06-28 18:00:39 +07:00
SetupChecks fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
UserMigration test(settings): fix AccountMigratorTest when using PNG avatars 2024-06-14 15:52:21 +07:00