Test added
This commit is contained in:
parent
23953be7cb
commit
760aecefd8
|
@ -276,6 +276,17 @@ class InstallerTest extends MockedTest
|
||||||
true,
|
true,
|
||||||
$install->getChecks());
|
$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->mockFunctionL10TCalls();
|
||||||
$this->setFunctions([
|
$this->setFunctions([
|
||||||
'curl_init' => true,
|
'curl_init' => true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user