From: Gunnar Wrobel Date: Tue, 16 Mar 2010 19:18:55 +0000 (+0100) Subject: Adapt testing to new log entry in the decorator. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=99eff9ebc51595a50e87ee74fc1bf38bca8c5923;p=horde.git Adapt testing to new log entry in the decorator. --- diff --git a/framework/Kolab_Server/test/Horde/Kolab/Server/Class/Server/Decorator/LogTest.php b/framework/Kolab_Server/test/Horde/Kolab/Server/Class/Server/Decorator/LogTest.php index 318b932fa..127cc15d9 100644 --- a/framework/Kolab_Server/test/Horde/Kolab/Server/Class/Server/Decorator/LogTest.php +++ b/framework/Kolab_Server/test/Horde/Kolab/Server/Class/Server/Decorator/LogTest.php @@ -91,8 +91,11 @@ class Horde_Kolab_Server_Class_Server_Decorator_LogTest extends PHPUnit_Framewor { $result = $this->getMock('Horde_Kolab_Server_Result_Interface'); $query = $this->getMock( - 'Horde_Kolab_Server_Query_Element_Interface', array(), array(), '', false + 'Horde_Kolab_Server_Query_Ldap', array(), array(), '', false, false ); + $query->expects($this->once()) + ->method('__toString') + ->will($this->returnValue('filter')); $this->server->expects($this->exactly(1)) ->method('find') ->with($query)