From 6ccebf45c8f0ddb5b27dbf9702edb2341e650ee9 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Fri, 27 Jun 2014 13:25:38 +0200 Subject: [PATCH] Fix test Tests\Icinga\Form\Config\Resource\ResourceFormTest because the method being tested has been changed refs #6542 --- test/php/application/forms/Config/Resource/ResourceFormTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/php/application/forms/Config/Resource/ResourceFormTest.php b/test/php/application/forms/Config/Resource/ResourceFormTest.php index 6dba6ce54..ccfa9531a 100644 --- a/test/php/application/forms/Config/Resource/ResourceFormTest.php +++ b/test/php/application/forms/Config/Resource/ResourceFormTest.php @@ -261,6 +261,8 @@ class ResourceFormTest extends BaseTestCase protected function setUpResourceFactoryMock($resourceMock) { Mockery::mock('alias:Icinga\Data\ResourceFactory') + ->shouldReceive('mysqlAvailable') + ->andReturn(true) ->shouldReceive('createResource') ->with(Mockery::type('\Zend_Config')) ->andReturn($resourceMock);