mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-27 14:02:38 +02:00
Fixed BungeeSystemTest#testEnableNoMySQL:
- Moved the condition to the correct place this time
This commit is contained in:
parent
e5a0dabc80
commit
0d587f527e
@ -60,9 +60,7 @@ public class BungeeSystemTest {
|
|||||||
@Test
|
@Test
|
||||||
public void bungeeDoesNotEnableWithDefaultIP() throws Exception {
|
public void bungeeDoesNotEnableWithDefaultIP() throws Exception {
|
||||||
thrown.expect(EnableException.class);
|
thrown.expect(EnableException.class);
|
||||||
if (!Boolean.parseBoolean(System.getenv(CIProperties.IS_TRAVIS))) {
|
thrown.expectMessage("IP setting still 0.0.0.0 - Configure AlternativeIP/IP that connects to the Proxy server.");
|
||||||
thrown.expectMessage("IP setting still 0.0.0.0 - Configure AlternativeIP/IP that connects to the Proxy server.");
|
|
||||||
}
|
|
||||||
|
|
||||||
PlanSystem bungeeSystem = component.getPlanSystem();
|
PlanSystem bungeeSystem = component.getPlanSystem();
|
||||||
try {
|
try {
|
||||||
@ -82,7 +80,9 @@ public class BungeeSystemTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testEnableNoMySQL() throws EnableException {
|
public void testEnableNoMySQL() throws EnableException {
|
||||||
thrown.expect(EnableException.class);
|
thrown.expect(EnableException.class);
|
||||||
thrown.expectMessage("Failed to initialize pool: Communications link failure");
|
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