Skip to content

Commit

Permalink
Fix tests (add logout to mock)
Browse files Browse the repository at this point in the history
  • Loading branch information
uwej711 authored and Daniel Barsotti committed Jun 30, 2011
1 parent 67e2c91 commit 864b02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Jackalope/SessionTest.php
Expand Up @@ -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()));
Expand Down

0 comments on commit 864b02c

Please sign in to comment.