[OLINGO-348] Fixed test for none english environments

This commit is contained in:
mibo 2014-07-17 21:10:12 +02:00
parent 23789e100b
commit 3e81f054c0
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ public class TranslatedExceptionsTest {
private static final String ONEPARAM = "ONEPARAM";
private static final String TWOPARAM = "TWOPARAM";
public TranslatedExceptionsTest() {
// for test reason we assume a system with a default Locale.ENGLISH
Locale.setDefault(Locale.ENGLISH);
}
@Test
public void basic() {
ODataTranslatedException exp = new ODataTranslatedException(DEV, BASIC);