diff options
author | Robin Appelman <robin@icewind.nl> | 2016-08-24 14:44:33 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-10-11 11:05:25 +0200 |
commit | 25ed6714c78f811e6ed6ae611df0c89d9e9278f9 (patch) | |
tree | 0c156ca8985d77acfab0ab0b41eca665557cf2e7 /tests | |
parent | 2dcd97bf144fac80d68df813d9d002bcbe3e1d6b (diff) | |
download | nextcloud-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.php | 3 |
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]); |