Skip to content

Commit

Permalink
Merge pull request #1276 from ripcurlx/fix-gui-tests-for-different-lo…
Browse files Browse the repository at this point in the history
…cale

Overwrite default locale to be able to run gui tests on non en_US machines
  • Loading branch information
ManfredKarrer authored Jan 27, 2018
2 parents d1aff34 + 71dbd7d commit 1b4e0c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gui/src/test/java/io/bisq/gui/util/BSFormatterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1b4e0c3

Please sign in to comment.