From a71ce5c40525774ba08db0dba420edb81ed10cbe Mon Sep 17 00:00:00 2001 From: magenoxx Date: Mon, 26 Dec 2011 10:55:07 +0400 Subject: [PATCH] Update EquipAbilityTest. Reproduces Issue 420. --- .../test/java/org/mage/test/ai/EquipAbilityTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/ai/EquipAbilityTest.java b/Mage.Tests/src/test/java/org/mage/test/ai/EquipAbilityTest.java index 1de14b39844..af2f9809d1f 100644 --- a/Mage.Tests/src/test/java/org/mage/test/ai/EquipAbilityTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/ai/EquipAbilityTest.java @@ -15,19 +15,19 @@ public class EquipAbilityTest extends CardTestBase { @Test public void testLevelUpAbilityUsage() { - addCard(Constants.Zone.BATTLEFIELD, playerA, "Boros Swiftblade"); + addCard(Constants.Zone.BATTLEFIELD, playerA, "Steel Wall"); addCard(Constants.Zone.BATTLEFIELD, playerA, "Blade of the Bloodchief"); + addCard(Constants.Zone.BATTLEFIELD, playerA, "Blazing Torch"); addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp", 3); addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains", 2); addCard(Constants.Zone.BATTLEFIELD, playerA, "Sacred Foundry", 1); - setStopOnTurn(3); execute(); - Permanent boros = getPermanent("Boros Swiftblade", playerA.getId()); - Assert.assertNotNull(boros); + Permanent wall = getPermanent("Steel Wall", playerA.getId()); + Assert.assertNotNull(wall); - Assert.assertEquals("Not equipped", 1, boros.getAttachments().size()); + Assert.assertEquals("Not equipped", 2, wall.getAttachments().size()); int count = 0; int tapped = 0; @@ -42,6 +42,6 @@ public class EquipAbilityTest extends CardTestBase { } } Assert.assertEquals(6, count); - Assert.assertEquals(1, tapped); + Assert.assertEquals(2, tapped); } }