Fix scrutinizer issues
This commit is contained in:
parent
1b50d4f7ce
commit
60ae2894aa
|
@ -132,7 +132,7 @@ class LostControllerTest extends \PHPUnit_Framework_TestCase {
|
||||||
->with('core.lost.setPassword', array('userId' => 'ExistingUser', 'token' => 'ThisIsMaybeANotSoSecretToken!'))
|
->with('core.lost.setPassword', array('userId' => 'ExistingUser', 'token' => 'ThisIsMaybeANotSoSecretToken!'))
|
||||||
->will($this->returnValue('https://ownCloud.com/index.php/lostpassword/'));
|
->will($this->returnValue('https://ownCloud.com/index.php/lostpassword/'));
|
||||||
|
|
||||||
$response = $this->lostController->email('ExistingUser', true);
|
$response = $this->lostController->email('ExistingUser');
|
||||||
$expectedResponse = array('status' => 'success');
|
$expectedResponse = array('status' => 'success');
|
||||||
$this->assertSame($expectedResponse, $response);
|
$this->assertSame($expectedResponse, $response);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue