mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-13 10:51:24 +01: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
|
||||
public void bungeeDoesNotEnableWithDefaultIP() throws Exception {
|
||||
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();
|
||||
try {
|
||||
@ -82,7 +80,9 @@ public class BungeeSystemTest {
|
||||
@Test
|
||||
public void testEnableNoMySQL() throws EnableException {
|
||||
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();
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user