From: Michael Date: Sun, 17 Jul 2022 09:02:28 +0000 (+0000) Subject: Test added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=760aecefd87067a14e84468d35768d472271ec5c;p=friendica.git Test added --- diff --git a/tests/src/Core/InstallerTest.php b/tests/src/Core/InstallerTest.php index 9256581b16..c951823148 100644 --- a/tests/src/Core/InstallerTest.php +++ b/tests/src/Core/InstallerTest.php @@ -276,6 +276,17 @@ class InstallerTest extends MockedTest true, $install->getChecks()); + $this->mockFunctionL10TCalls(); + $this->setFunctions(['gmp_strval' => false]); + $install = new Installer(); + self::assertFalse($install->checkFunctions()); + self::assertCheckExist(11, + 'GNU Multiple Precision PHP module', + 'Error: GNU Multiple Precision PHP module required but not installed.', + false, + true, + $install->getChecks()); + $this->mockFunctionL10TCalls(); $this->setFunctions([ 'curl_init' => true,