fix tests
This commit is contained in:
parent
8689fe1a2e
commit
8a58ff0fdf
|
@ -63,10 +63,8 @@ class Session extends \Test\TestCase {
|
||||||
->will($this->returnValue(null));
|
->will($this->returnValue(null));
|
||||||
|
|
||||||
$backend = $this->getMock('OC_User_Dummy');
|
$backend = $this->getMock('OC_User_Dummy');
|
||||||
$backend->expects($this->once())
|
$backend->expects($this->never())
|
||||||
->method('userExists')
|
->method('userExists');
|
||||||
->with('foo')
|
|
||||||
->will($this->returnValue(true));
|
|
||||||
|
|
||||||
$manager = new \OC\User\Manager();
|
$manager = new \OC\User\Manager();
|
||||||
$manager->registerBackend($backend);
|
$manager->registerBackend($backend);
|
||||||
|
|
Loading…
Reference in New Issue