]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix parameter order 2351/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Mon, 28 Nov 2016 08:59:59 +0000 (09:59 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Mon, 28 Nov 2016 09:00:53 +0000 (10:00 +0100)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tests/lib/User/SessionTest.php

index 33e19bef70d6a05173c1b9a447a983df1bbb4882..78b673d10bd68fcfee72490f92032438d63cb5d8 100644 (file)
@@ -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));
        }