From f566f3af71ce73707270111abe93596282f14492 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Mon, 14 Jan 2019 05:53:34 +0400 Subject: [PATCH] Fixed riot tests --- .../mage/test/cards/abilities/keywords/RiotTest.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java index 6729541109a..41b7b56991e 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java @@ -31,11 +31,12 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Rampaging Rendhorn", 1); // Creature {4}{G} castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rampaging Rendhorn"); - setChoice(playerA, "+1/+1 counter"); + setChoice(playerA, "Yes"); // yes - counter setStopAt(1, PhaseStep.BEGIN_COMBAT); execute(); + assertAllCommandsUsed(); assertPermanentCount(playerA, "Rampaging Rendhorn", 1); assertPowerToughness(playerA, "Rampaging Rendhorn", 5, 5); @@ -51,11 +52,12 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Rampaging Rendhorn", 1); // Creature {4}{G} castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rampaging Rendhorn"); - setChoice(playerA, "Haste"); + setChoice(playerA, "No"); // no - haste setStopAt(2, PhaseStep.BEGIN_COMBAT); execute(); + assertAllCommandsUsed(); assertPermanentCount(playerA, "Rampaging Rendhorn", 1); assertPowerToughness(playerA, "Rampaging Rendhorn", 4, 4); @@ -74,11 +76,12 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Silvercoat Lion", 1); // Creature {1}{W} 2/2 castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Silvercoat Lion"); - setChoice(playerA, "+1/+1 counter"); + setChoice(playerA, "Yes"); // yes - counter setStopAt(1, PhaseStep.BEGIN_COMBAT); execute(); + assertAllCommandsUsed(); assertPermanentCount(playerA, "Silvercoat Lion", 1); assertPowerToughness(playerA, "Silvercoat Lion", 3, 3); @@ -98,11 +101,12 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Silvercoat Lion", 1); // Creature {1}{W} 2/2 castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Silvercoat Lion"); - setChoice(playerA, "Haste"); + setChoice(playerA, "No"); // no - haste setStopAt(2, PhaseStep.BEGIN_COMBAT); execute(); + assertAllCommandsUsed(); assertPermanentCount(playerA, "Silvercoat Lion", 1); assertPowerToughness(playerA, "Silvercoat Lion", 2, 2);