From 8bdd8b2bedc4af99d6194be45c44053cd886914a Mon Sep 17 00:00:00 2001 From: Alex Vasile <48962821+Alex-Vasile@users.noreply.github.com> Date: Fri, 26 Aug 2022 18:17:33 -0400 Subject: [PATCH] Fix Ethereal Valkyrie test randomly failing (caused by AI the incorrectly tapping mana) --- .../test/cards/single/khc/EtherealValkyrieTest.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/khc/EtherealValkyrieTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/khc/EtherealValkyrieTest.java index e9999aeb4f..dcc3b7670f 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/single/khc/EtherealValkyrieTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/khc/EtherealValkyrieTest.java @@ -148,25 +148,22 @@ public class EtherealValkyrieTest extends CardTestPlayerBase { */ @Test public void testMDFCCreatureCreature() { - addCard(Zone.BATTLEFIELD, playerA, "Plains", 2); - addCard(Zone.BATTLEFIELD, playerA, "Island", 2); - addCard(Zone.BATTLEFIELD, playerA, "Island", 8); + addCard(Zone.BATTLEFIELD, playerA, "Tundra", 12); addCard(Zone.HAND, playerA, etherealValkyrie, 2); - addCard(Zone.BATTLEFIELD, playerA, "Island", 3); + addCard(Zone.BATTLEFIELD, playerA, "Island", 5); addCard(Zone.HAND, playerA, alrund); - addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3); + addCard(Zone.BATTLEFIELD, playerA, "Island", 2); addCard(Zone.HAND, playerA, alrund); setStrictChooseMode(true); castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, etherealValkyrie); addTarget(playerA, alrund); - waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN); - castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, etherealValkyrie); + castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, etherealValkyrie); addTarget(playerA, alrund); - setStopAt(1, PhaseStep.PRECOMBAT_MAIN); + setStopAt(1, PhaseStep.END_TURN); execute(); assertExileCount(playerA, alrund, 2);