mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-27 02:21:30 +01:00
Fixed BungeeSystemTest on systems with mysql installed
This commit is contained in:
parent
722e28005d
commit
1773dd6b97
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user