Merge pull request #1276 from ripcurlx/fix-gui-tests-for-different-locale

Overwrite default locale to be able to run gui tests on non en_US machines
This commit is contained in:
Manfred Karrer 2018-01-26 22:30:22 -05:00 committed by GitHub
commit 1b4e0c3e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,14 +18,21 @@
package io.bisq.gui.util;
import io.bisq.common.locale.Res;
import org.junit.Before;
import org.junit.Test;
import java.util.Locale;
import java.util.concurrent.TimeUnit;
import static org.junit.Assert.assertEquals;
public class BSFormatterTest {
@Before
public void setup() {
Locale.setDefault(new Locale("en", "US"));
}
@Test
public void testIsValid() {
BSFormatter formatter = new BSFormatter();