From 864b02ccf235480b798dbc3020d2ff8bd408e7b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20J=C3=A4ger?= Date: Tue, 28 Jun 2011 13:12:05 +0200 Subject: [PATCH] Fix tests (add logout to mock) --- tests/Jackalope/SessionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Jackalope/SessionTest.php b/tests/Jackalope/SessionTest.php index fd6c01a0..a841a38c 100644 --- a/tests/Jackalope/SessionTest.php +++ b/tests/Jackalope/SessionTest.php @@ -35,7 +35,7 @@ public function testSessionRegistry() { $factory = new \Jackalope\Factory; $repository = $this->getMock('Jackalope\Repository', array(), array($factory), '', false); - $transport = $this->getMock('Jackalope\Transport\Davex\Client', array('login', 'getRepositoryDescriptors', 'getNamespaces'), array($factory, 'http://example.com')); + $transport = $this->getMock('Jackalope\Transport\Davex\Client', array('login', 'logout', 'getRepositoryDescriptors', 'getNamespaces'), array($factory, 'http://example.com')); $transport->expects($this->any()) ->method('getNamespaces') ->will($this->returnValue(array()));