Fix ldap ConnectionTest

If I ever have to look at this test again, I'll drop it.

refs #8826
This commit is contained in:
Johannes Meyer 2015-05-04 13:25:07 +02:00
parent 437090d2b1
commit 100d475b58
1 changed files with 3 additions and 4 deletions

View File

@ -126,12 +126,11 @@ class ConnectionTest extends BaseTestCase
return Mockery::mock('overload:Icinga\Protocol\Ldap\Query')
->shouldReceive(array(
'from' => Mockery::self(),
'create' => array('count' => 1),
'listFields' => array('count' => 1),
'getColumns' => array('count' => 1),
'getLimit' => 1,
'hasOffset' => false,
'hasBase' => false,
'getSortColumns' => array(),
'getBase' => null,
'hasOrder' => false,
'getUsePagedResults' => true
));
}