mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
ccfaddf781
commit
265c2c125c
1 changed files with 2 additions and 2 deletions
|
|
@ -1264,7 +1264,7 @@ class SessionTest extends \Test\TestCase {
|
|||
$mapper->expects($this->any())
|
||||
->method('getToken')
|
||||
->willReturn($token);
|
||||
$mapper->expects($this->once())
|
||||
$mapper->expects($this->exactly(2))
|
||||
->method('update');
|
||||
$request
|
||||
->expects($this->any())
|
||||
|
|
@ -1314,7 +1314,7 @@ class SessionTest extends \Test\TestCase {
|
|||
$mapper->expects($this->any())
|
||||
->method('getToken')
|
||||
->willReturn($token);
|
||||
$mapper->expects($this->never())
|
||||
$mapper->expects($this->once())
|
||||
->method('update');
|
||||
$request
|
||||
->expects($this->any())
|
||||
|
|
|
|||
Loading…
Reference in a new issue