Commit 1b6425df authored by Noel Alonso's avatar Noel Alonso
Browse files

Adapta test por cambio en traducciones

parent e2b59668
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ public class ExceptionsTranslationTest {
	}

	@Test
	public void getRussianLanguageMessage_returnDefaultI18nMessage_WhenI18nFileNotExist() {
	public void getRussianLanguageMessage_returnCode_WhenI18nFileNotExist() {

		try {
			throw new HistoryNotFoundException("UpdateTimeSeriesCommand", "1");
@@ -101,7 +101,7 @@ public class ExceptionsTranslationTest {

			String mess = messageSource.getMessage(code, fields, new Locale("ru", "RU"));

			Assert.assertEquals(getMessage(code, fields, resourcePathSpanish), mess);
			Assert.assertEquals(code, mess);
		}
	}

+4 −4
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public class ExceptionsTranslationTest {
	}

	@Test
	public void getRussianLanguageMessage_returnDefaultI18nMessage_WhenI18nFileNotExist() {
	public void getRussianLanguageMessage_returnCode_WhenI18nFileNotExist() {

		try {
			throw new ItemNotFoundException("id", "2");
@@ -94,7 +94,7 @@ public class ExceptionsTranslationTest {

			String mess = messageSource.getMessage(code, fields, new Locale("ru", "RU"));

			Assert.assertEquals(getMessage(code, fields, resourcePathSpanish), mess);
			Assert.assertEquals(code, mess);
		}
	}