#699 Unit test that config.yml values correspond to property defaults

- Create unit test
- Correct offending values
This commit is contained in:
ljacqu
2016-05-09 21:15:11 +02:00
parent 3673e15ff7
commit 223f56425b
6 changed files with 30 additions and 17 deletions
@@ -19,12 +19,12 @@ public class ProtectionSettings implements SettingsClass {
@Comment({"Countries allowed to join the server and register, see http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/ for countries' codes",
"PLEASE USE QUOTES!"})
public static final Property<List<String>> COUNTRIES_WHITELIST =
newListProperty("Protection.countries", "US", "GB", "A1");
newListProperty("Protection.countries", "US", "GB");
@Comment({"Countries not allowed to join the server and register",
"PLEASE USE QUOTES!"})
public static final Property<List<String>> COUNTRIES_BLACKLIST =
newListProperty("Protection.countriesBlacklist");
newListProperty("Protection.countriesBlacklist", "A1");
@Comment("Do we need to enable automatic antibot system?")
public static final Property<Boolean> ENABLE_ANTIBOT =