diff options
author | szaimen <szaimen@e.mail.de> | 2022-03-07 18:07:45 +0100 |
---|---|---|
committer | szaimen <szaimen@e.mail.de> | 2022-03-07 18:07:45 +0100 |
commit | 3c8f8bc70aef23d04b1fc46a1a38ef696b32f736 (patch) | |
tree | 87a07a7a1da6c4a740110f928dbce3cc33a75073 /apps/settings/tests | |
parent | 7dca146b5830b8232b1684c8bb59948898b9b618 (diff) | |
download | nextcloud-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.php | 12 |
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, |