Commit 04628004 authored by Paweł Ścibiorski's avatar Paweł Ścibiorski Committed by daryl herzmann

Test was looking trying to assure that English names for time units are the...

Test was looking trying to assure that English names for time units are the same as foreignin. That was causing problems while I was building Openfire and units were named in Polish (e.g. second - sekunda). (#925)
parent 4e755241
......@@ -5,10 +5,18 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
public class StringUtilsTest {
@Before
public void setUp() {
JiveGlobals.setLocale(Locale.ENGLISH);
}
@Test
public void testValidDomainNames() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment