mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
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:
commit
1b4e0c3e87
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user