Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRadu committed Oct 26, 2023
1 parent 830ddc9 commit 96edb4b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/User/src/InputFilter/ProfilePasswordInputFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function init(): void
])
->attachByName(Identical::class, [
'token' => 'password',
'message' => '<b>Password confirm</b> does not match',
'message' => '<b>Confirm Password</b> does not match',
]);
$this->add($passwordConfirm);
}
Expand Down
2 changes: 1 addition & 1 deletion src/User/src/InputFilter/ResetPasswordInputFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function init(): void
])
->attachByName(Identical::class, [
'token' => 'password',
'message' => '<b>Password confirm</b> does not match',
'message' => '<b>Confirm Password</b> does not match',
]);
$this->add($passwordConfirm);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function testWillValidateConfirmPassword(): void
$this->assertIsArray($messages['passwordConfirm']);
$this->assertArrayHasKey('notSame', $messages['passwordConfirm']);
$this->assertSame(
'<b>Password confirm</b> does not match',
'<b>Confirm Password</b> does not match',
$messages['passwordConfirm']['notSame']
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function testWillValidateConfirmPassword(): void
$this->assertIsArray($messages['passwordConfirm']);
$this->assertArrayHasKey('notSame', $messages['passwordConfirm']);
$this->assertSame(
'<b>Password confirm</b> does not match',
'<b>Confirm Password</b> does not match',
$messages['passwordConfirm']['notSame']
);
}
Expand Down

0 comments on commit 96edb4b

Please sign in to comment.