summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-08-24 14:44:33 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-11 11:05:25 +0200
commit25ed6714c78f811e6ed6ae611df0c89d9e9278f9 (patch)
tree0c156ca8985d77acfab0ab0b41eca665557cf2e7 /tests
parent2dcd97bf144fac80d68df813d9d002bcbe3e1d6b (diff)
downloadnextcloud-server-25ed6714c78f811e6ed6ae611df0c89d9e9278f9.tar.gz
nextcloud-server-25ed6714c78f811e6ed6ae611df0c89d9e9278f9.zip
dont update the auth token twice
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/User/SessionTest.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/lib/User/SessionTest.php b/tests/lib/User/SessionTest.php
index 2cd6b9b3bed..37eb53ad166 100644
--- a/tests/lib/User/SessionTest.php
+++ b/tests/lib/User/SessionTest.php
@@ -890,9 +890,6 @@ class SessionTest extends \Test\TestCase {
->method('getPassword')
->with($token, 'APP-PASSWORD')
->will($this->throwException(new \OC\Authentication\Exceptions\PasswordlessTokenException()));
- $tokenProvider->expects($this->once())
- ->method('updateToken')
- ->with($token);
$this->invokePrivate($userSession, 'validateSession', [$user]);