mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 17:24:16 +02:00
parent
e345aa257a
commit
4e83bb098a
@ -70,8 +70,7 @@ class LdapBackendFormTest extends BaseTestCase
|
||||
Mockery::mock('alias:Icinga\Data\ResourceFactory')
|
||||
->shouldReceive('getResourceConfig')
|
||||
->andReturn(new \Zend_Config(array()))
|
||||
->shouldReceive('createResource')
|
||||
->with(Mockery::type('\Zend_Config'))
|
||||
->shouldReceive('create')
|
||||
->andReturn(Mockery::mock('Icinga\Protocol\Ldap\Connection'));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user