Loading src/test/java/es/redmic/user/integration/translations/ExceptionsTranslationTest.java +2 −19 Original line number Diff line number Diff line Loading @@ -99,23 +99,6 @@ public class ExceptionsTranslationTest { } } @Test public void getRussianLanguageMessage_returnDefaultI18nMessage_WhenI18nFileNotExist() { try { repository.findByEmail("prueba@redmic.es"); } catch (DBNotFoundException e) { String code = e.getCode().toString(); String[] fields = (String[]) e.getFieldErrors().toArray(); String mess = messageSource.getMessage(code, fields, new Locale("ru", "RU")); Assert.assertEquals(getMessage(code, fields, resourcePathSpanish), mess); } } @Test public void getMessage_returnCode_WhenCodeNotInI18nFile() { Loading Loading
src/test/java/es/redmic/user/integration/translations/ExceptionsTranslationTest.java +2 −19 Original line number Diff line number Diff line Loading @@ -99,23 +99,6 @@ public class ExceptionsTranslationTest { } } @Test public void getRussianLanguageMessage_returnDefaultI18nMessage_WhenI18nFileNotExist() { try { repository.findByEmail("prueba@redmic.es"); } catch (DBNotFoundException e) { String code = e.getCode().toString(); String[] fields = (String[]) e.getFieldErrors().toArray(); String mess = messageSource.getMessage(code, fields, new Locale("ru", "RU")); Assert.assertEquals(getMessage(code, fields, resourcePathSpanish), mess); } } @Test public void getMessage_returnCode_WhenCodeNotInI18nFile() { Loading