[FINERACT-1965] Dateformat validation error message with the original dateformat

This commit is contained in:
taskain7
2023-08-30 09:50:03 +02:00
committed by Arnold Gálovics
parent e7013309ca
commit c9e9a5f546
2 changed files with 7 additions and 6 deletions
@@ -119,7 +119,7 @@ public class DateValidationTest {
HashMap<String, Object> error = errors.get(0);
assertNotNull(error);
assertEquals(
"The parameter `expectedDisbursementDate` is invalid based on the dateFormat: `dd MMMM uuuu` and locale: `en_GB` provided:",
"The parameter `expectedDisbursementDate` is invalid based on the dateFormat: `dd MMMM yyyy` and locale: `en_GB` provided:",
error.get("developerMessage"));
}
@@ -134,7 +134,7 @@ public class DateValidationTest {
assertNotNull(errors);
Map<String, Object> error = errors.get(0);
assertNotNull(error);
assertEquals("The parameter `expiration` is invalid based on the dateFormat: `dd MMMM uuuu HH:mm:ss` and locale: `en` provided:",
assertEquals("The parameter `expiration` is invalid based on the dateFormat: `dd MMMM yyyy HH:mm:ss` and locale: `en` provided:",
error.get("developerMessage"));
}