mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Changed Test port for WebServer because SonarQube uses 9000 on Travis
This commit is contained in:
parent
0e8b80df32
commit
e6874626bf
@ -53,7 +53,7 @@ public class BukkitSystemTest {
|
||||
|
||||
@Test
|
||||
public void testEnable() throws EnableException {
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||
|
||||
bukkitSystem = new BukkitSystem(planMock);
|
||||
bukkitSystem.enable();
|
||||
|
@ -85,7 +85,7 @@ public class BungeeBukkitConnectionTest {
|
||||
}
|
||||
|
||||
public void enable() throws EnableException {
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||
|
||||
bukkitSystem = new BukkitSystem(bukkitMock);
|
||||
bukkitSystem.enable();
|
||||
|
@ -60,7 +60,7 @@ public class BungeeSystemTest {
|
||||
public void testEnable() throws EnableException {
|
||||
bungeeSystem = new BungeeSystem(planMock);
|
||||
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||
Settings.BUNGEE_IP.setTemporaryValue("8.8.8.8");
|
||||
Settings.DB_TYPE.setTemporaryValue("sqlite");
|
||||
bungeeSystem.setDatabaseSystem(new BukkitDBSystem());
|
||||
@ -75,7 +75,7 @@ public class BungeeSystemTest {
|
||||
|
||||
bungeeSystem = new BungeeSystem(planMock);
|
||||
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||
Settings.DB_TYPE.setTemporaryValue("sqlite");
|
||||
bungeeSystem.setDatabaseSystem(new BukkitDBSystem());
|
||||
|
||||
|
@ -52,7 +52,7 @@ public class SpongeSystemTest {
|
||||
@Test
|
||||
@Ignore("Sponge mock required")
|
||||
public void testEnable() throws EnableException {
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||
|
||||
spongeSystem = new SpongeSystem(planMock);
|
||||
spongeSystem.enable();
|
||||
|
@ -48,7 +48,7 @@ public class HTTPSWebServerAuthTest {
|
||||
Settings.WEBSERVER_CERTIFICATE_STOREPASS.setTemporaryValue("wDwwf663NLTm73gL");
|
||||
Settings.WEBSERVER_CERTIFICATE_ALIAS.setTemporaryValue("DefaultPlanCert");
|
||||
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
||||
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||
|
||||
bukkitSystem = new BukkitSystem(planMock);
|
||||
bukkitSystem.enable();
|
||||
|
Loading…
Reference in New Issue
Block a user