Test added
This commit is contained in:
parent
23953be7cb
commit
760aecefd8
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue