fix(tests): Fix more tests in backport

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/38273/head
Joas Schilling 1 year ago
parent 33f5016998
commit 4318969883
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205

@ -651,7 +651,7 @@ class LostControllerTest extends \Test\TestCase {
'status' => 'error',
'msg' => 'Couldn\'t reset password because the token is invalid',
];
$this->assertSame($expectedResponse, $response);
$this->assertSame($expectedResponse, $response->getData());
}
public function testSetPasswordExpiredTokenDueToLogin() {
@ -701,7 +701,7 @@ class LostControllerTest extends \Test\TestCase {
'status' => 'error',
'msg' => 'Couldn\'t reset password because the token is invalid'
];
$this->assertSame($expectedResponse, $response);
$this->assertSame($expectedResponse, $response->getData());
}
public function testIsSetPasswordTokenNullFailing() {

Loading…
Cancel
Save