Fix test Tests\Icinga\Form\Config\Resource\ResourceFormTest because the method being tested has been changed
refs #6542
This commit is contained in:
parent
23baa0dc83
commit
6ccebf45c8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue