Commit a495b53f authored by Florian Schäfer's avatar Florian Schäfer

JOSM/wikipedia: Don't let unit test depend on the Locale of the machine the tests are run on

It still depends on the current Wikidata label of the three tested items, which should be fixed in the future.

git-svn-id: b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
parent de11b5b0
......@@ -13,7 +13,6 @@ import javax.swing.JTable;
import org.junit.Rule;
import org.junit.Test;
import org.openstreetmap.josm.testutils.JOSMTestRules;
import org.wikipedia.gui.WikidataTagCellRenderer;
public class WikidataTagCellRendererTest {
......@@ -21,7 +20,7 @@ public class WikidataTagCellRendererTest {
* Setup test.
public JOSMTestRules rules = new JOSMTestRules().preferences();
public JOSMTestRules rules = new JOSMTestRules().preferences().i18n("en");
public void testRenderLabel() throws Exception {
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