From ec4b6b6c4ca9a6cd73e936eb53e97bc2ea111f8e Mon Sep 17 00:00:00 2001 From: Dmytro Trotsenko Date: Sat, 6 Jan 2024 16:25:15 +0200 Subject: [PATCH] bugfix: added unit tests to password validation --- .../PasswordValidationValidatorTest.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/chat/yourway/unit/annotation/validator/PasswordValidationValidatorTest.java b/src/test/java/com/chat/yourway/unit/annotation/validator/PasswordValidationValidatorTest.java index b392935e..b5800f2d 100644 --- a/src/test/java/com/chat/yourway/unit/annotation/validator/PasswordValidationValidatorTest.java +++ b/src/test/java/com/chat/yourway/unit/annotation/validator/PasswordValidationValidatorTest.java @@ -142,7 +142,24 @@ public void shouldFailValidator_whenUserInputPasswordWithSpace() { @Test public void shouldFailValidator_whenUserInputPasswordWithForbiddenSymbols() { // Given - var password = "