Added default locale (PMD)
This commit is contained in:
parent
bd9bb8d47e
commit
1d7f8eb86b
7 changed files with 63 additions and 48 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue