FINERACT-1724: Fix grammar in error message

This commit is contained in:
Adam Saghy
2023-01-31 16:19:46 +01:00
parent 06f5d3cbdd
commit 25622aa6a7
4 changed files with 5 additions and 5 deletions
@@ -64,7 +64,7 @@ public class BusinessDateReadPlatformServiceTest {
public void notFoundByTypeNotStoredInDB() {
BusinessDateNotFoundException businessDateNotFoundException = assertThrows(BusinessDateNotFoundException.class,
() -> businessDateReadPlatformService.findByType("BUSINESS_DATE"));
assertEquals("Business date with type `BUSINESS_DATE` does not found.", businessDateNotFoundException.getDefaultUserMessage());
assertEquals("Business date with type `BUSINESS_DATE` is not found.", businessDateNotFoundException.getDefaultUserMessage());
}
@Test