From 100d475b588db657cec0b24dcfa09c41f1cdb274 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 4 May 2015 13:25:07 +0200 Subject: [PATCH] Fix ldap ConnectionTest If I ever have to look at this test again, I'll drop it. refs #8826 --- test/php/library/Icinga/Protocol/Ldap/ConnectionTest.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/php/library/Icinga/Protocol/Ldap/ConnectionTest.php b/test/php/library/Icinga/Protocol/Ldap/ConnectionTest.php index 182004703..b49250ba5 100644 --- a/test/php/library/Icinga/Protocol/Ldap/ConnectionTest.php +++ b/test/php/library/Icinga/Protocol/Ldap/ConnectionTest.php @@ -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 )); }