diff options
author | szaimen <szaimen@e.mail.de> | 2022-07-11 16:46:31 +0200 |
---|---|---|
committer | Simon L. (Rebase PR Action) <szaimen@e.mail.de> | 2022-07-13 09:33:33 +0000 |
commit | cf9b1082ed4550d3ece15d1c2cc613a0a5e008bc (patch) | |
tree | 0a17d7528b39dcb1b99cacd9aef6d7ef4a032f59 /apps/settings/tests | |
parent | 22de24324728025c5299850317fc697b33375caf (diff) | |
download | nextcloud-server-cf9b1082ed4550d3ece15d1c2cc613a0a5e008bc.tar.gz nextcloud-server-cf9b1082ed4550d3ece15d1c2cc613a0a5e008bc.zip |
add a setup check for 64 bit
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r-- | apps/settings/tests/Controller/CheckSetupControllerTest.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php index 8c9b2f216af..c109bad04ff 100644 --- a/apps/settings/tests/Controller/CheckSetupControllerTest.php +++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php @@ -199,6 +199,7 @@ class CheckSetupControllerTest extends TestCase { 'getAppDirsWithDifferentOwner', 'isImagickEnabled', 'areWebauthnExtensionsEnabled', + 'is64bit', 'hasRecommendedPHPModules', 'hasBigIntConversionPendingColumns', 'isMysqlUsedWithoutUTF8MB4', @@ -538,6 +539,11 @@ class CheckSetupControllerTest extends TestCase { $this->checkSetupController ->expects($this->once()) + ->method('is64bit') + ->willReturn(false); + + $this->checkSetupController + ->expects($this->once()) ->method('hasRecommendedPHPModules') ->willReturn([]); @@ -632,6 +638,7 @@ class CheckSetupControllerTest extends TestCase { 'appDirsWithDifferentOwner' => [], 'isImagickEnabled' => false, 'areWebauthnExtensionsEnabled' => false, + 'is64bit' => false, 'recommendedPHPModules' => [], 'pendingBigIntConversionColumns' => [], 'isMysqlUsedWithoutUTF8MB4' => false, |