Skip to content
Snippets Groups Projects
Commit 24a99745 authored by Noel's avatar Noel
Browse files

Elimina test

parent 77db81fa
No related branches found
No related tags found
1 merge request!19Dev
Pipeline #708957318 passed with warnings
......@@ -9,9 +9,9 @@ package es.redmic.user.integration.translations;
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment