fix soul warden test.

This commit is contained in:
drmDev 2016-07-26 22:58:56 -04:00
parent f593623508
commit 0b48749e0b
2 changed files with 8 additions and 5 deletions

View file

@ -27,14 +27,17 @@ public class SoulWardenTest extends CardTestPlayerBase {
addCard(Zone.BATTLEFIELD, playerA, "Soul Warden", 1);
// Creature 2/1
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Elite Vanguard");
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Raise the Alarm");
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt", "Soul Warden");
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Elite Vanguard");
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Elite Vanguard"); // 2/1 creature
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Raise the Alarm"); // put 2 1/1 soldiers on the battlefield
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt");
addTarget(playerA, "Soul Warden");
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Elite Vanguard"); // should not gain life now that soul warden is dead
setStopAt(1, PhaseStep.END_TURN);
execute();
assertGraveyardCount(playerA, "Lightning Bolt", 1);
assertGraveyardCount(playerA, "Soul Warden", 1);
assertLife(playerA, 23);
assertLife(playerB, 20);
}