mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix tests
This commit is contained in:
parent
0939c3147e
commit
0f535e3866
1 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue