|
|
@@ -134,6 +134,7 @@ class CheckSetupControllerTest extends TestCase { |
|
|
|
'hasMissingIndexes', |
|
|
|
'isSqliteUsed', |
|
|
|
'isPhpMailerUsed', |
|
|
|
'hasOpcacheLoaded', |
|
|
|
])->getMock(); |
|
|
|
} |
|
|
|
|
|
|
@@ -395,6 +396,10 @@ class CheckSetupControllerTest extends TestCase { |
|
|
|
->expects($this->once()) |
|
|
|
->method('hasFileinfoInstalled') |
|
|
|
->willReturn(true); |
|
|
|
$this->checkSetupController |
|
|
|
->expects($this->once()) |
|
|
|
->method('hasOpcacheLoaded') |
|
|
|
->willReturn(true); |
|
|
|
$this->checkSetupController |
|
|
|
->expects($this->once()) |
|
|
|
->method('hasWorkingFileLocking') |
|
|
@@ -451,6 +456,7 @@ class CheckSetupControllerTest extends TestCase { |
|
|
|
'hasPassedCodeIntegrityCheck' => true, |
|
|
|
'codeIntegrityCheckerDocumentation' => 'http://docs.example.org/server/go.php?to=admin-code-integrity', |
|
|
|
'isOpcacheProperlySetup' => false, |
|
|
|
'hasOpcacheLoaded' => true, |
|
|
|
'phpOpcacheDocumentation' => 'http://docs.example.org/server/go.php?to=admin-php-opcache', |
|
|
|
'isSettimelimitAvailable' => true, |
|
|
|
'hasFreeTypeSupport' => false, |