From fed26d9a7d8a72a897ca9fe3d4f6673ff0c65f80 Mon Sep 17 00:00:00 2001 From: MenekseYuncu Date: Tue, 26 Nov 2024 12:08:30 +0300 Subject: [PATCH] AYS-551 | conversation test resolved --- .../AdminRegistrationApplicationControllerTest.java | 3 ++- .../java/org/ays/auth/controller/AysAuthControllerTest.java | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/ays/auth/controller/AdminRegistrationApplicationControllerTest.java b/src/test/java/org/ays/auth/controller/AdminRegistrationApplicationControllerTest.java index f4fcc4161..b23a59955 100644 --- a/src/test/java/org/ays/auth/controller/AdminRegistrationApplicationControllerTest.java +++ b/src/test/java/org/ays/auth/controller/AdminRegistrationApplicationControllerTest.java @@ -573,7 +573,8 @@ void givenInvalidAdminRegisterApplicationCompleteRequestWithParametrizedInvalidN "user@.com", ".user@example.com", " user@example.com", - "user@example.com " + "user@example.com ", + " user@example.com " }) void givenInvalidAdminRegisterApplicationCompleteRequestWithParametrizedInvalidEmails_whenEmailsAreNotValid_thenReturnValidationError(String invalidEmail) throws Exception { diff --git a/src/test/java/org/ays/auth/controller/AysAuthControllerTest.java b/src/test/java/org/ays/auth/controller/AysAuthControllerTest.java index 17583b971..7345c9df5 100644 --- a/src/test/java/org/ays/auth/controller/AysAuthControllerTest.java +++ b/src/test/java/org/ays/auth/controller/AysAuthControllerTest.java @@ -142,7 +142,8 @@ void givenInvalidLoginRequestWithInvalidPassword_whenPasswordDoesNotValid_thenRe "user@.com", ".user@example.com", " user@example.com", - "user@example.com " + "user@example.com ", + " user@example.com " }) void givenInvalidLoginRequestWithInvalidEmailAddress_whenEmailsAreNotValid_thenReturnValidationError(String mockEmailAddress) throws Exception { // Given @@ -282,7 +283,8 @@ void givenValidForgotPasswordRequest_whenSendPasswordCreateMail_thenReturnSucces "user@.com", ".user@example.com", " user@example.com", - "user@example.com " + "user@example.com ", + " user@example.com " }) void givenForgotPasswordRequestWithInvalidEmailAddress_whenEmailDoesNotValid_thenReturnValidationError(String mockEmailAddress) throws Exception {