mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Added extra constant for Lang dir (currently not yet used as I originally thought)
This commit is contained in:
@@ -108,6 +108,10 @@ public class ForgeCardMockTestCase extends PowerMockTestCase {
|
||||
String userCustomEditionDir = userCustomDir + "editions" + File.separator;
|
||||
Field fUserCustomEditionDir = PowerMockito.field(ForgeConstants.class, "USER_CUSTOM_EDITIONS_DIR");
|
||||
fUserCustomEditionDir.set(ForgeConstants.class, userCustomEditionDir);
|
||||
// Lang Dir
|
||||
String langDir = resDir + "languages" + File.separator;
|
||||
Field fLangDir = PowerMockito.field(ForgeConstants.class, "LANG_DIR");
|
||||
fLangDir.set(ForgeConstants.class, langDir);
|
||||
}
|
||||
|
||||
private void setMock(Localizer mock) {
|
||||
|
||||
Reference in New Issue
Block a user