summaryrefslogtreecommitdiff
path: root/backend/src/test/java/org
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-01-22 17:25:10 +0100
committerJoffrey BION <joffrey.bion@gmail.com>2017-01-22 17:26:35 +0100
commit231e9e60ac6483b043c5fa9dd3d32a52b053f666 (patch)
tree8c85538e6d3083ae3661af6484abfcaf78a98fe2 /backend/src/test/java/org
parentMove saga and router routes in a single file (diff)
downloadseven-wonders-231e9e60ac6483b043c5fa9dd3d32a52b053f666.tar.gz
seven-wonders-231e9e60ac6483b043c5fa9dd3d32a52b053f666.tar.bz2
seven-wonders-231e9e60ac6483b043c5fa9dd3d32a52b053f666.zip
Fix player indexes in TestUtils
Diffstat (limited to 'backend/src/test/java/org')
-rw-r--r--backend/src/test/java/org/luxons/sevenwonders/game/test/TestUtils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/src/test/java/org/luxons/sevenwonders/game/test/TestUtils.java b/backend/src/test/java/org/luxons/sevenwonders/game/test/TestUtils.java
index b5ddb7b1..c4fa7059 100644
--- a/backend/src/test/java/org/luxons/sevenwonders/game/test/TestUtils.java
+++ b/backend/src/test/java/org/luxons/sevenwonders/game/test/TestUtils.java
@@ -59,6 +59,7 @@ public class TestUtils {
String username = "testUser" + i;
String displayName = "Test User " + i;
Player player = new Player(username, displayName);
+ player.setIndex(i);
players.add(player);
}
return players;
bgstack15