Skip to content

Commit

Permalink
WW-4789 WW-3788 Fixes test after reverse merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Apr 30, 2020
1 parent 32cbb32 commit 567ad9c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;

/**
Expand All @@ -48,7 +49,7 @@ public class VisitorFieldValidatorTest extends XWorkTestCase {
public void setUp() throws Exception {
super.setUp();

ActionContext.getContext().put(ActionContext.LOCALE, Locale.US); // Force US Locale for date conversion tests on JDK9+
ActionContext.getContext().withLocale(Locale.US); // Force US Locale for date conversion tests on JDK9+
action = container.inject(VisitorValidatorTestAction.class);

TestBean bean = action.getBean();
Expand Down

0 comments on commit 567ad9c

Please sign in to comment.