Commit 24a99745 authored by Noel Alonso's avatar Noel Alonso
Browse files

Elimina test

parent 77db81fa
Loading
Loading
Loading
Loading
+2 −19
Original line number Diff line number Diff line
@@ -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() {