summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2016-12-09 02:52:34 +0100
committerJoffrey BION <joffrey.bion@gmail.com>2016-12-09 02:52:34 +0100
commit57bdd91bf6feea9400fd990f795107cf5d36daa2 (patch)
treed0391640f01faad1460725cdd3f60e3f1d226ce9 /src/test
parentConvert card data from CSV to JSON format (diff)
downloadseven-wonders-57bdd91bf6feea9400fd990f795107cf5d36daa2.tar.gz
seven-wonders-57bdd91bf6feea9400fd990f795107cf5d36daa2.tar.bz2
seven-wonders-57bdd91bf6feea9400fd990f795107cf5d36daa2.zip
Card data parsing, part 1
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java b/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java
index db4eb049..93997923 100644
--- a/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java
+++ b/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java
@@ -29,7 +29,7 @@ public class CardTest {
rightBoard = new Board(new Wonder("TestWonder", ResourceType.PAPYRUS), settings);
Requirements treeFarmRequirements = new Requirements();
- treeFarmRequirements.setGoldCost(1);
+ treeFarmRequirements.setGold(1);
ProductionIncrease treeFarmEffect = new ProductionIncrease();
treeFarmEffect.getProduction().addChoice(ResourceType.WOOD, ResourceType.CLAY);
bgstack15