mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-28 02:54:20 +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 org.mockito.junit.MockitoJUnitRunner;
|
||||||
import rules.BungeeComponentMocker;
|
import rules.BungeeComponentMocker;
|
||||||
import rules.ComponentMocker;
|
import rules.ComponentMocker;
|
||||||
import utilities.CIProperties;
|
|
||||||
import utilities.RandomData;
|
import utilities.RandomData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -80,9 +79,6 @@ public class BungeeSystemTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testEnableNoMySQL() throws EnableException {
|
public void testEnableNoMySQL() throws EnableException {
|
||||||
thrown.expect(EnableException.class);
|
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();
|
PlanSystem bungeeSystem = component.getPlanSystem();
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user