mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-14 12:11:23 +01: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
|
@Test
|
||||||
public void testEnable() throws EnableException {
|
public void testEnable() throws EnableException {
|
||||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||||
|
|
||||||
bukkitSystem = new BukkitSystem(planMock);
|
bukkitSystem = new BukkitSystem(planMock);
|
||||||
bukkitSystem.enable();
|
bukkitSystem.enable();
|
||||||
|
@ -85,7 +85,7 @@ public class BungeeBukkitConnectionTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void enable() throws EnableException {
|
public void enable() throws EnableException {
|
||||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||||
|
|
||||||
bukkitSystem = new BukkitSystem(bukkitMock);
|
bukkitSystem = new BukkitSystem(bukkitMock);
|
||||||
bukkitSystem.enable();
|
bukkitSystem.enable();
|
||||||
|
@ -60,7 +60,7 @@ public class BungeeSystemTest {
|
|||||||
public void testEnable() throws EnableException {
|
public void testEnable() throws EnableException {
|
||||||
bungeeSystem = new BungeeSystem(planMock);
|
bungeeSystem = new BungeeSystem(planMock);
|
||||||
|
|
||||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||||
Settings.BUNGEE_IP.setTemporaryValue("8.8.8.8");
|
Settings.BUNGEE_IP.setTemporaryValue("8.8.8.8");
|
||||||
Settings.DB_TYPE.setTemporaryValue("sqlite");
|
Settings.DB_TYPE.setTemporaryValue("sqlite");
|
||||||
bungeeSystem.setDatabaseSystem(new BukkitDBSystem());
|
bungeeSystem.setDatabaseSystem(new BukkitDBSystem());
|
||||||
@ -75,7 +75,7 @@ public class BungeeSystemTest {
|
|||||||
|
|
||||||
bungeeSystem = new BungeeSystem(planMock);
|
bungeeSystem = new BungeeSystem(planMock);
|
||||||
|
|
||||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||||
Settings.DB_TYPE.setTemporaryValue("sqlite");
|
Settings.DB_TYPE.setTemporaryValue("sqlite");
|
||||||
bungeeSystem.setDatabaseSystem(new BukkitDBSystem());
|
bungeeSystem.setDatabaseSystem(new BukkitDBSystem());
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ public class SpongeSystemTest {
|
|||||||
@Test
|
@Test
|
||||||
@Ignore("Sponge mock required")
|
@Ignore("Sponge mock required")
|
||||||
public void testEnable() throws EnableException {
|
public void testEnable() throws EnableException {
|
||||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||||
|
|
||||||
spongeSystem = new SpongeSystem(planMock);
|
spongeSystem = new SpongeSystem(planMock);
|
||||||
spongeSystem.enable();
|
spongeSystem.enable();
|
||||||
|
@ -48,7 +48,7 @@ public class HTTPSWebServerAuthTest {
|
|||||||
Settings.WEBSERVER_CERTIFICATE_STOREPASS.setTemporaryValue("wDwwf663NLTm73gL");
|
Settings.WEBSERVER_CERTIFICATE_STOREPASS.setTemporaryValue("wDwwf663NLTm73gL");
|
||||||
Settings.WEBSERVER_CERTIFICATE_ALIAS.setTemporaryValue("DefaultPlanCert");
|
Settings.WEBSERVER_CERTIFICATE_ALIAS.setTemporaryValue("DefaultPlanCert");
|
||||||
|
|
||||||
Settings.WEBSERVER_PORT.setTemporaryValue(9000);
|
Settings.WEBSERVER_PORT.setTemporaryValue(9005);
|
||||||
|
|
||||||
bukkitSystem = new BukkitSystem(planMock);
|
bukkitSystem = new BukkitSystem(planMock);
|
||||||
bukkitSystem.enable();
|
bukkitSystem.enable();
|
||||||
|
Loading…
Reference in New Issue
Block a user