Skip to content

Commit

Permalink
Fix failing unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Dec 5, 2020
1 parent 77a754d commit b5d6398
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,10 @@ public void testOnEnable() {
addon.onEnable();
verify(plugin).log("[MagicCobblestoneGenerator] Loading generator tiers from database...");
verify(plugin).log("[MagicCobblestoneGenerator] Done");
verify(plugin).log("[MagicCobblestoneGenerator] Imported 8 generator tiers into database.");

verify(plugin).logWarning("[MagicCobblestoneGenerator] Level add-on not found so Magic Cobblestone Generator, some parts may not work!");
// verify(plugin).logWarning("[MagicCobblestoneGenerator] Upgrades add-on not found so Magic Cobblestone Generator, some parts may not work!");
verify(plugin).logWarning("[MagicCobblestoneGenerator] Economy plugin not found so money options will not work!");
verify(plugin).logWarning("[MagicCobblestoneGenerator] Vault plugin not found. Economy will not work!");
//verify(plugin, never()).logError("[MagicCobblestoneGenerator] Magic Cobblestone Generator could not hook into any GameMode so will not do anything!");

}
Expand Down

0 comments on commit b5d6398

Please sign in to comment.