From 5161f849f93357e0215093cfbe4d718ffdd2d279 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 23 Mar 2015 19:40:19 +0100 Subject: [PATCH] Fixed Necromancy Test. --- .../mage/test/cards/abilities/other/NecromancyTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/other/NecromancyTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/other/NecromancyTest.java index 22dcb3d668c..54b959bb00b 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/other/NecromancyTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/other/NecromancyTest.java @@ -106,8 +106,8 @@ public class NecromancyTest extends CardTestPlayerBase { @Test public void testNecromancyLeaves() { - addCard(Zone.BATTLEFIELD, playerA, "Swamp", 3); - addCard(Zone.BATTLEFIELD, playerA, "Plains", 2); + addCard(Zone.BATTLEFIELD, playerA, "Swamp", 1); + addCard(Zone.BATTLEFIELD, playerA, "Plains", 4); addCard(Zone.HAND, playerA, "Necromancy"); addCard(Zone.HAND, playerA, "Disenchant"); addCard(Zone.GRAVEYARD, playerA, "Craw Wurm"); @@ -115,11 +115,12 @@ public class NecromancyTest extends CardTestPlayerBase { castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Necromancy"); castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Disenchant", "Necromancy"); - setStopAt(2, PhaseStep.END_TURN); + setStopAt(1, PhaseStep.END_TURN); execute(); - assertPermanentCount(playerA, "Craw Wurm", 0); + assertGraveyardCount(playerA, "Disenchant", 1); assertPermanentCount(playerA, "Necromancy", 0); + assertPermanentCount(playerA, "Craw Wurm", 0); assertGraveyardCount(playerA, "Necromancy", 1); assertGraveyardCount(playerA, "Craw Wurm", 1); }