Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(tests): Fix more tests in backport
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed May 16, 2023
commit 43189698836572c326cf5192329603517e811acd
4 changes: 2 additions & 2 deletions tests/Core/Controller/LostControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ public function testSetPasswordInvalidDataInDb() {
'status' => 'error',
'msg' => 'Couldn\'t reset password because the token is invalid',
];
$this->assertSame($expectedResponse, $response);
$this->assertSame($expectedResponse, $response->getData());
}

public function testSetPasswordExpiredTokenDueToLogin() {
Expand Down Expand Up @@ -701,7 +701,7 @@ public function testIsSetPasswordWithoutTokenFailing() {
'status' => 'error',
'msg' => 'Couldn\'t reset password because the token is invalid'
];
$this->assertSame($expectedResponse, $response);
$this->assertSame($expectedResponse, $response->getData());
}

public function testIsSetPasswordTokenNullFailing() {
Expand Down