mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:10:11 +00:00
Hopefully this fixes the tests again
This commit is contained in:
parent
439afc89b6
commit
732308ce6d
2 changed files with 18 additions and 7 deletions
|
@ -177,6 +177,17 @@ class InstallerTest extends MockedTest
|
|||
true,
|
||||
$install->getChecks());
|
||||
|
||||
$this->mockFunctionL10TCalls();
|
||||
$this->setFunctions(['json_encode' => false]);
|
||||
$install = new Installer();
|
||||
$this->assertFalse($install->checkFunctions());
|
||||
$this->assertCheckExist(9,
|
||||
'JSON PHP module',
|
||||
'Error: JSON PHP module required but not installed.',
|
||||
false,
|
||||
true,
|
||||
$install->getChecks());
|
||||
|
||||
$this->mockFunctionL10TCalls();
|
||||
$this->setFunctions([
|
||||
'curl_init' => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue