aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-09-18 19:46:21 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-09-18 19:50:58 +0200
commit210a0554a2b99166e7875da87594e3d548df72d7 (patch)
tree332a98128bcc5e034b1420a4c389a86b7593fdec /tests
parent28794b37826ab6a67f5490df514292da1fcb4201 (diff)
downloadnextcloud-server-210a0554a2b99166e7875da87594e3d548df72d7.tar.gz
nextcloud-server-210a0554a2b99166e7875da87594e3d548df72d7.zip
Use the actual password to update the tokens
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Authentication/Login/CreateSessionTokenCommandTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Authentication/Login/CreateSessionTokenCommandTest.php b/tests/lib/Authentication/Login/CreateSessionTokenCommandTest.php
index 136906f42b0..11d2ea36b27 100644
--- a/tests/lib/Authentication/Login/CreateSessionTokenCommandTest.php
+++ b/tests/lib/Authentication/Login/CreateSessionTokenCommandTest.php
@@ -76,7 +76,7 @@ class CreateSessionTokenCommandTest extends ALoginCommandTest {
->method('updateTokens')
->with(
$this->username,
- $this->username
+ $this->password
);
$result = $this->cmd->process($data);
@@ -109,7 +109,7 @@ class CreateSessionTokenCommandTest extends ALoginCommandTest {
->method('updateTokens')
->with(
$this->username,
- $this->username
+ $this->password
);
$result = $this->cmd->process($data);