summaryrefslogtreecommitdiffstats
path: root/tests/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-21 18:31:41 +0200
committerLukas Reschke <lukas@owncloud.com>2014-11-17 17:50:19 +0100
commit60ae2894aa298cc2ee5bb2a59312303746bbd633 (patch)
tree9302e20d06e2aca5999cf8717ad102f611d7bb6d /tests/core
parent1b50d4f7ceb92fffe0d38f823f175cf7e419c69e (diff)
downloadnextcloud-server-60ae2894aa298cc2ee5bb2a59312303746bbd633.tar.gz
nextcloud-server-60ae2894aa298cc2ee5bb2a59312303746bbd633.zip
Fix scrutinizer issues
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 0a598d1f191..c513ce17c7e 100644
--- a/tests/core/lostpassword/controller/lostcontrollertest.php
+++ b/tests/core/lostpassword/controller/lostcontrollertest.php
@@ -132,7 +132,7 @@ class LostControllerTest extends \PHPUnit_Framework_TestCase {
->with('core.lost.setPassword', array('userId' => 'ExistingUser', 'token' => 'ThisIsMaybeANotSoSecretToken!'))
->will($this->returnValue('https://ownCloud.com/index.php/lostpassword/'));
- $response = $this->lostController->email('ExistingUser', true);
+ $response = $this->lostController->email('ExistingUser');
$expectedResponse = array('status' => 'success');
$this->assertSame($expectedResponse, $response);
}