summaryrefslogtreecommitdiff
path: root/backend/src/test
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-05-08 09:55:41 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-05-08 09:55:41 +0200
commitd36414b05f1cc051652a8baad16c4d6e4c69bab2 (patch)
treed42a44d78e52e054e83d439d58465e802cc8dc99 /backend/src/test
parentAdd first draft of Game test (diff)
downloadseven-wonders-d36414b05f1cc051652a8baad16c4d6e4c69bab2.tar.gz
seven-wonders-d36414b05f1cc051652a8baad16c4d6e4c69bab2.tar.bz2
seven-wonders-d36414b05f1cc051652a8baad16c4d6e4c69bab2.zip
Rename "prepare card" to "prepare move"
Some moves may not be related to preparing a card from the hand. For instance, picking a neighbouring Guild Card to copy is not what I would call "preparing a card".
Diffstat (limited to 'backend/src/test')
-rw-r--r--backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java b/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java
index a7d10394..98247bb2 100644
--- a/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java
+++ b/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java
@@ -30,7 +30,7 @@ public class GameTest {
assertEquals(1, turnInfo.getCurrentAge());
assertEquals(7, turnInfo.getHand().size());
PlayerMove move = getFirstAvailableMove(turnInfo);
- game.prepareCard(turnInfo.getPlayerIndex(), move);
+ game.prepareMove(turnInfo.getPlayerIndex(), move);
}
}
bgstack15