diff options
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java | 6 | ||||
-rw-r--r-- | src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java | 6 |
2 files changed, 6 insertions, 6 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 db11c466..db4eb049 100644 --- a/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java +++ b/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java @@ -24,9 +24,9 @@ public class CardTest { @Before public void initBoard() { Settings settings = new Settings(); - board = new Board(new Wonder(ResourceType.WOOD), settings); - leftBoard = new Board(new Wonder(ResourceType.STONE), settings); - rightBoard = new Board(new Wonder(ResourceType.PAPYRUS), settings); + board = new Board(new Wonder("TestWonder", ResourceType.WOOD), settings); + leftBoard = new Board(new Wonder("TestWonder", ResourceType.STONE), settings); + rightBoard = new Board(new Wonder("TestWonder", ResourceType.PAPYRUS), settings); Requirements treeFarmRequirements = new Requirements(); treeFarmRequirements.setGoldCost(1); diff --git a/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java b/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java index 51a7a192..25dfcf38 100644 --- a/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java +++ b/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java @@ -32,9 +32,9 @@ public class EffectTest { Settings settings = new Settings(); settings.setInitialGold(INITIAL_GOLD); - board = new Board(new Wonder(ResourceType.WOOD), settings); - leftBoard = new Board(new Wonder(ResourceType.STONE), settings); - rightBoard = new Board(new Wonder(ResourceType.PAPYRUS), settings); + board = new Board(new Wonder("TestWonder", ResourceType.WOOD), settings); + leftBoard = new Board(new Wonder("TestWonder", ResourceType.STONE), settings); + rightBoard = new Board(new Wonder("TestWonder", ResourceType.PAPYRUS), settings); resources1Stone1Wood = new Resources(); resources1Stone1Wood.add(ResourceType.STONE, 1); |