diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-06-25 23:52:11 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-06-27 16:15:16 +0200 |
commit | 6e48ca1cf811a3a8416aa37e9fb4daaac8028ecd (patch) | |
tree | 7b7b447f69f02a4377c1dd2e74d6ee8970fd3d86 /apps/settings/tests/SetupChecks | |
parent | d5d180daf633a085b1e27f7ff3fe0f038fa321de (diff) | |
download | nextcloud-server-6e48ca1cf811a3a8416aa37e9fb4daaac8028ecd.tar.gz nextcloud-server-6e48ca1cf811a3a8416aa37e9fb4daaac8028ecd.zip |
fix(settings): Adjust SetupCheck for supported database versions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/settings/tests/SetupChecks')
-rw-r--r-- | apps/settings/tests/SetupChecks/SupportedDatabaseTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php b/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php index 5f97ed41d0a..2492379b557 100644 --- a/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php +++ b/apps/settings/tests/SetupChecks/SupportedDatabaseTest.php @@ -46,7 +46,7 @@ class SupportedDatabaseTest extends TestCase { /** SQlite always gets a warning */ $this->assertEquals(SetupResult::WARNING, $this->check->run()->getSeverity()); } else { - $this->assertEquals(SetupResult::SUCCESS, $this->check->run()->getSeverity()); + $this->assertContains($this->check->run()->getSeverity(), [SetupResult::SUCCESS, SetupResult::INFO]); } } } |