Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/29682/head
Joas Schilling 5 years ago
parent ccfaddf781
commit 265c2c125c
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 4
      tests/lib/User/SessionTest.php

@ -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…
Cancel
Save