summaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java3
1 files changed, 1 insertions, 2 deletions
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 25dfcf38..8dee5a77 100644
--- a/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java
+++ b/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java
@@ -55,8 +55,7 @@ public class EffectTest {
@Test
public void testGoldIncrease() {
- GoldIncrease effect = new GoldIncrease();
- effect.setAmount(6);
+ GoldIncrease effect = new GoldIncrease(6);
effect.apply(board, leftBoard, rightBoard);
assertEquals(INITIAL_GOLD + 6, board.getGold());
assertEquals(INITIAL_GOLD, leftBoard.getGold());
bgstack15