Skip to content

Commit

Permalink
Merge pull request #16022 from tttomat19/fix_UserCountryNotSetValidat…
Browse files Browse the repository at this point in the history
…orLocaleTest

Fix UserCountryNotSetValidatorLocaleTest fail
  • Loading branch information
gastaldi authored Mar 26, 2021
2 parents c2a5239 + 9cfcd06 commit 23b3435
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ public void run() {
}).setAfterAllCustomizer(new Runnable() {
@Override
public void run() {
System.setProperty("user.country", userCountry);
if (userCountry != null) {
System.setProperty("user.country", userCountry);
}
System.setProperty("user.language", userLanguage);
}
});
Expand Down

0 comments on commit 23b3435

Please sign in to comment.