]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix scrutinizer issues
authorLukas Reschke <lukas@owncloud.com>
Tue, 21 Oct 2014 16:31:41 +0000 (18:31 +0200)
committerLukas Reschke <lukas@owncloud.com>
Mon, 17 Nov 2014 16:50:19 +0000 (17:50 +0100)
tests/core/lostpassword/controller/lostcontrollertest.php

index 0a598d1f191c56301fbf97a13da959dbaab02bc4..c513ce17c7e09d162c91c80ad99335babc818aa4 100644 (file)
@@ -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);
        }