From 1773dd6b973cbf91970e2a4a7b7c4d8fabce3020 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Wed, 2 Jan 2019 16:55:37 +0200 Subject: [PATCH] Fixed BungeeSystemTest on systems with mysql installed --- .../src/test/java/com/djrapitops/plan/BungeeSystemTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Plan/bungeecord/src/test/java/com/djrapitops/plan/BungeeSystemTest.java b/Plan/bungeecord/src/test/java/com/djrapitops/plan/BungeeSystemTest.java index b52f71a07..75183369f 100644 --- a/Plan/bungeecord/src/test/java/com/djrapitops/plan/BungeeSystemTest.java +++ b/Plan/bungeecord/src/test/java/com/djrapitops/plan/BungeeSystemTest.java @@ -19,7 +19,6 @@ import org.junit.runner.RunWith; import org.mockito.junit.MockitoJUnitRunner; import rules.BungeeComponentMocker; import rules.ComponentMocker; -import utilities.CIProperties; import utilities.RandomData; /** @@ -80,9 +79,6 @@ public class BungeeSystemTest { @Test public void testEnableNoMySQL() throws EnableException { thrown.expect(EnableException.class); - if (!Boolean.parseBoolean(System.getenv(CIProperties.IS_TRAVIS))) { - thrown.expectMessage("Failed to initialize pool: Communications link failure"); - } PlanSystem bungeeSystem = component.getPlanSystem(); try {