Skip to content
Snippets Groups Projects
Commit d9996540 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

always use english locale for selenium tests

parent cb5e7a7e
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ import java.text.SimpleDateFormat; ...@@ -11,6 +11,7 @@ import java.text.SimpleDateFormat;
import java.time.Duration; import java.time.Duration;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Locale;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
...@@ -104,7 +105,7 @@ public class TransactionTestHelper ...@@ -104,7 +105,7 @@ public class TransactionTestHelper
public static String getDateString(int day) public static String getDateString(int day)
{ {
return String.format("%02d. %s", day, new SimpleDateFormat("MMMM yyyy").format(new Date()).toUpperCase()); return String.format("%02d. %s", day, new SimpleDateFormat("MMMM yyyy", Locale.ENGLISH).format(new Date()).toUpperCase());
} }
public static void selectGlobalAccountByName(WebDriver driver, String accountName) public static void selectGlobalAccountByName(WebDriver driver, String accountName)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment