Commit 0f535e38 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

fix tests

parent 0939c314
......@@ -63,10 +63,8 @@ class Session extends \Test\TestCase {
->will($this->returnValue(null));
$backend = $this->getMock('OC_User_Dummy');
$backend->expects($this->once())
->method('userExists')
->with('foo')
->will($this->returnValue(true));
$backend->expects($this->never())
->method('userExists');
$manager = new \OC\User\Manager();
$manager->registerBackend($backend);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment