summaryrefslogtreecommitdiffstats
path: root/apps/settings/tests
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-03-07 18:07:45 +0100
committerszaimen <szaimen@e.mail.de>2022-03-07 18:07:45 +0100
commit3c8f8bc70aef23d04b1fc46a1a38ef696b32f736 (patch)
tree87a07a7a1da6c4a740110f928dbce3cc33a75073 /apps/settings/tests
parent7dca146b5830b8232b1684c8bb59948898b9b618 (diff)
downloadnextcloud-server-3c8f8bc70aef23d04b1fc46a1a38ef696b32f736.tar.gz
nextcloud-server-3c8f8bc70aef23d04b1fc46a1a38ef696b32f736.zip
fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r--apps/settings/tests/Controller/CheckSetupControllerTest.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php
index 4349994570b..8a1e062f58b 100644
--- a/apps/settings/tests/Controller/CheckSetupControllerTest.php
+++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php
@@ -550,6 +550,16 @@ class CheckSetupControllerTest extends TestCase {
$this->checkSetupController
->expects($this->once())
+ ->method('isImagickEnabled')
+ ->willReturn(false);
+
+ $this->checkSetupController
+ ->expects($this->once())
+ ->method('areWebauthnExtensionsEnabled')
+ ->willReturn(false);
+
+ $this->checkSetupController
+ ->expects($this->once())
->method('hasRecommendedPHPModules')
->willReturn([]);
@@ -642,6 +652,8 @@ class CheckSetupControllerTest extends TestCase {
'missingColumns' => [],
'isMemoryLimitSufficient' => true,
'appDirsWithDifferentOwner' => [],
+ 'isImagickEnabled' => false,
+ 'areWebauthnExtensionsEnabled' => false,
'recommendedPHPModules' => [],
'pendingBigIntConversionColumns' => [],
'isMysqlUsedWithoutUTF8MB4' => false,