diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-11 15:31:33 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-07-11 16:08:41 +0200 |
commit | 7c6c3d0d761f8634d5fa9637d022451b5f17f7bd (patch) | |
tree | f6a4f34b86b1a6fe6242eb1eececbc153a470a3b /tests | |
parent | f6f49c77f7d013e5713c964d4d7e3d4b4eedc636 (diff) | |
download | nextcloud-server-7c6c3d0d761f8634d5fa9637d022451b5f17f7bd.tar.gz nextcloud-server-7c6c3d0d761f8634d5fa9637d022451b5f17f7bd.zip |
Fix tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Settings/Controller/CheckSetupControllerTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php index 057774a45ba..305e2ba22ce 100644 --- a/tests/Settings/Controller/CheckSetupControllerTest.php +++ b/tests/Settings/Controller/CheckSetupControllerTest.php @@ -134,6 +134,7 @@ class CheckSetupControllerTest extends TestCase { 'hasMissingIndexes', 'isSqliteUsed', 'isPhpMailerUsed', + 'hasOpcacheLoaded', ])->getMock(); } @@ -397,6 +398,10 @@ class CheckSetupControllerTest extends TestCase { ->willReturn(true); $this->checkSetupController ->expects($this->once()) + ->method('hasOpcacheLoaded') + ->willReturn(true); + $this->checkSetupController + ->expects($this->once()) ->method('hasWorkingFileLocking') ->willReturn(true); $this->checkSetupController @@ -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, |