Added default locale (PMD)

This commit is contained in:
Erik C. Thauvin 2019-04-27 02:50:47 -07:00
parent bd9bb8d47e
commit 1d7f8eb86b
7 changed files with 63 additions and 48 deletions

View file

@ -32,6 +32,7 @@
package net.thauvin.erik.mobibot.modules;
import net.thauvin.erik.mobibot.Constants;
import org.testng.annotations.BeforeSuite;
import java.io.IOException;
@ -64,7 +65,7 @@ class LocalProperties {
}
private static String keyToEnv(final String key) {
return key.replaceAll("-", "_").toUpperCase();
return key.replaceAll("-", "_").toUpperCase(Constants.LOCALE);
}
@BeforeSuite(alwaysRun = true)