summaryrefslogtreecommitdiff
path: root/same/src/test/java/com/orbekk/same/MasterTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'same/src/test/java/com/orbekk/same/MasterTest.java')
-rw-r--r--same/src/test/java/com/orbekk/same/MasterTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/same/src/test/java/com/orbekk/same/MasterTest.java b/same/src/test/java/com/orbekk/same/MasterTest.java
index ec0a56c..fb5a45c 100644
--- a/same/src/test/java/com/orbekk/same/MasterTest.java
+++ b/same/src/test/java/com/orbekk/same/MasterTest.java
@@ -61,7 +61,7 @@ public class MasterTest {
public void clientJoin() {
Client client = new Client(
new State("ClientNetwork"), connections,
- "http://client/ClientService.json");
+ "http://client/ClientService.json", null);
ClientService clientS = client.getService();
connections.clientMap.put("http://client/ClientService.json", clientS);
client.joinNetwork("http://master/MasterService.json");
@@ -74,12 +74,12 @@ public class MasterTest {
public void updateStateRequest() throws Exception {
Client client1 = new Client(
new State("ClientNetwork"), connections,
- "http://client/ClientService.json");
+ "http://client/ClientService.json", null);
ClientService client1S = client1.getService();
connections.clientMap.put("http://client/ClientService.json", client1S);
Client client2 = new Client(
new State("ClientNetwork"), connections,
- "http://client2/ClientService.json");
+ "http://client2/ClientService.json", null);
ClientService client2S = client2.getService();
connections.clientMap.put("http://client2/ClientService.json", client2S);
@@ -109,7 +109,7 @@ public class MasterTest {
public void masterRemovesParticipant() throws Exception {
Client client = new Client(
new State("ClientNetwork"), connections,
- "http://client/ClientService.json");
+ "http://client/ClientService.json", null);
ClientService clientS = client.getService();
connections.clientMap.put("http://client/ClientService.json", clientS);
client.joinNetwork("http://master/MasterService.json");