Fix ldap ConnectionTest
If I ever have to look at this test again, I'll drop it. refs #8826
This commit is contained in:
parent
437090d2b1
commit
100d475b58
|
@ -126,12 +126,11 @@ class ConnectionTest extends BaseTestCase
|
||||||
return Mockery::mock('overload:Icinga\Protocol\Ldap\Query')
|
return Mockery::mock('overload:Icinga\Protocol\Ldap\Query')
|
||||||
->shouldReceive(array(
|
->shouldReceive(array(
|
||||||
'from' => Mockery::self(),
|
'from' => Mockery::self(),
|
||||||
'create' => array('count' => 1),
|
'getColumns' => array('count' => 1),
|
||||||
'listFields' => array('count' => 1),
|
|
||||||
'getLimit' => 1,
|
'getLimit' => 1,
|
||||||
'hasOffset' => false,
|
'hasOffset' => false,
|
||||||
'hasBase' => false,
|
'getBase' => null,
|
||||||
'getSortColumns' => array(),
|
'hasOrder' => false,
|
||||||
'getUsePagedResults' => true
|
'getUsePagedResults' => true
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue