From 9b2abfb1bb4498c96fb26cb41c777093b2ea6345 Mon Sep 17 00:00:00 2001 From: Alex Vasile <48962821+Alex-Vasile@users.noreply.github.com> Date: Mon, 22 Aug 2022 12:44:17 -0400 Subject: [PATCH] Fixed AnnihilatorTest --- .../mage/test/cards/abilities/keywords/AnnihilatorTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/AnnihilatorTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/AnnihilatorTest.java index bbb8014811..ad49edd479 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/AnnihilatorTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/AnnihilatorTest.java @@ -66,10 +66,15 @@ public class AnnihilatorTest extends CardTestPlayerBase { // Whenever an opponent sacrifices a nontoken permanent, put that card onto the battlefield under your control. addCard(Zone.BATTLEFIELD, playerB, "It That Betrays"); + setStrictChooseMode(true); + attack(2, playerB, "It That Betrays"); setChoice(playerA, "Academy Rector"); // Annihilator setChoice(playerA, "Plains"); // Annihilator castSpell(2, PhaseStep.DECLARE_ATTACKERS, playerA, "Cauldron Haze", "Academy Rector", "Annihilator"); + setChoice(playerB, "Whenever an opponent"); // Put the sacrifice triggers on the stack, order doesn't matter + setChoice(playerA, "persist"); // Put the persist trigger on the stack first + setChoice(playerA, "No"); // Do not exile the Academy Rector setStopAt(2, PhaseStep.POSTCOMBAT_MAIN); execute();