Skip to content
Snippets Groups Projects
Commit 0f535e38 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

fix tests

parent 0939c314
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment