summaryrefslogtreecommitdiffstats
path: root/tests/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-24 11:45:30 +0200
committerLukas Reschke <lukas@owncloud.com>2014-11-17 17:50:19 +0100
commit767b08c6699e88a669b97246497d5315c6a6c063 (patch)
tree863d0cae8be3c54b0ba112c8511ff0d2acbb3e62 /tests/core
parent57b5c82eb74a0f6f6f8fe785d0fd05892a12ba57 (diff)
downloadnextcloud-server-767b08c6699e88a669b97246497d5315c6a6c063.tar.gz
nextcloud-server-767b08c6699e88a669b97246497d5315c6a6c063.zip
Use correct route instead
THX @schiesbn (I should setup a mail server on my local system...)
Diffstat (limited to 'tests/core')
-rw-r--r--tests/core/lostpassword/controller/lostcontrollertest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/lostpassword/controller/lostcontrollertest.php b/tests/core/lostpassword/controller/lostcontrollertest.php
index c513ce17c7e..5da9e5ce48d 100644
--- a/tests/core/lostpassword/controller/lostcontrollertest.php
+++ b/tests/core/lostpassword/controller/lostcontrollertest.php
@@ -129,7 +129,7 @@ class LostControllerTest extends \PHPUnit_Framework_TestCase {
$this->container['URLGenerator']
->expects($this->once())
->method('linkToRouteAbsolute')
- ->with('core.lost.setPassword', array('userId' => 'ExistingUser', 'token' => 'ThisIsMaybeANotSoSecretToken!'))
+ ->with('core.lost.resetform', array('userId' => 'ExistingUser', 'token' => 'ThisIsMaybeANotSoSecretToken!'))
->will($this->returnValue('https://ownCloud.com/index.php/lostpassword/'));
$response = $this->lostController->email('ExistingUser');