summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller/LoginControllerTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-23 15:01:38 +0200
committerJoas Schilling <coding@schilljs.com>2016-08-23 15:01:38 +0200
commit736e884e9a53fb485073800dca2583a31c12d24d (patch)
tree3681983ade4f16ccd58aacd8ebb2aaebaa920bf7 /tests/Core/Controller/LoginControllerTest.php
parent139fb8de9471e83155c141640ce91c66d42d7b28 (diff)
downloadnextcloud-server-736e884e9a53fb485073800dca2583a31c12d24d.tar.gz
nextcloud-server-736e884e9a53fb485073800dca2583a31c12d24d.zip
Move the reset token to core app
Diffstat (limited to 'tests/Core/Controller/LoginControllerTest.php')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index 7fcc8222bc3..417a60a9e5f 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -370,7 +370,7 @@ class LoginControllerTest extends TestCase {
->will($this->returnValue(false));
$this->config->expects($this->once())
->method('deleteUserValue')
- ->with('uid', 'owncloud', 'lostpassword');
+ ->with('uid', 'core', 'lostpassword');
$expected = new \OCP\AppFramework\Http\RedirectResponse($indexPageUrl);
$this->assertEquals($expected, $this->loginController->tryLogin($user, $password, null));
@@ -499,7 +499,7 @@ class LoginControllerTest extends TestCase {
->will($this->returnValue($redirectUrl));
$this->config->expects($this->once())
->method('deleteUserValue')
- ->with('jane', 'owncloud', 'lostpassword');
+ ->with('jane', 'core', 'lostpassword');
$expected = new \OCP\AppFramework\Http\RedirectResponse(urldecode($redirectUrl));
$this->assertEquals($expected, $this->loginController->tryLogin('Jane', $password, $originalUrl));
@@ -553,7 +553,7 @@ class LoginControllerTest extends TestCase {
->will($this->returnValue($challengeUrl));
$this->config->expects($this->once())
->method('deleteUserValue')
- ->with('john', 'owncloud', 'lostpassword');
+ ->with('john', 'core', 'lostpassword');
$expected = new RedirectResponse($challengeUrl);
$this->assertEquals($expected, $this->loginController->tryLogin('john@doe.com', $password, null));