diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-11-28 09:59:59 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-11-28 10:00:53 +0100 |
commit | 6543182d13778eec9471e337727c8c432e565c4b (patch) | |
tree | 56857184a87f78062606cfd12802f868f772407b /tests | |
parent | 9b808c40147ebb2ff58908e17039b6caf076ec7e (diff) | |
download | nextcloud-server-6543182d13778eec9471e337727c8c432e565c4b.tar.gz nextcloud-server-6543182d13778eec9471e337727c8c432e565c4b.zip |
fix parameter order
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/User/SessionTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/User/SessionTest.php b/tests/lib/User/SessionTest.php index 33e19bef70d..78b673d10bd 100644 --- a/tests/lib/User/SessionTest.php +++ b/tests/lib/User/SessionTest.php @@ -800,7 +800,7 @@ class SessionTest extends \Test\TestCase { $this->tokenProvider->expects($this->once()) ->method('generateToken') - ->with($sessionId, $uid, $loginName, $password, 'Firefox', IToken::DO_NOT_REMEMBER, IToken::TEMPORARY_TOKEN); + ->with($sessionId, $uid, $loginName, $password, 'Firefox', IToken::TEMPORARY_TOKEN, IToken::DO_NOT_REMEMBER); $this->assertTrue($userSession->createSessionToken($request, $uid, $loginName, $password)); } |