From 3ad9663c39f68751db103d3671dc4c20b16628c6 Mon Sep 17 00:00:00 2001 From: "Alex W. Jackson" Date: Sat, 22 Oct 2022 20:46:52 -0400 Subject: [PATCH] Fix test and verify failures --- Mage.Sets/src/mage/cards/t/TyranidHarridan.java | 4 ++-- .../mage/test/cards/mana/conditional/ConditionalManaTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/cards/t/TyranidHarridan.java b/Mage.Sets/src/mage/cards/t/TyranidHarridan.java index 08673eec02..d332e17578 100644 --- a/Mage.Sets/src/mage/cards/t/TyranidHarridan.java +++ b/Mage.Sets/src/mage/cards/t/TyranidHarridan.java @@ -2,7 +2,7 @@ package mage.cards.t; import mage.MageInt; import mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility; -import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.costs.mana.GenericManaCost;; import mage.abilities.effects.common.CreateTokenEffect; import mage.abilities.keyword.FlyingAbility; import mage.abilities.keyword.WardAbility; @@ -35,7 +35,7 @@ public final class TyranidHarridan extends CardImpl { this.addAbility(FlyingAbility.getInstance()); // Ward {4} - this.addAbility(new WardAbility(new ManaCostsImpl<>("{4}"))); + this.addAbility(new WardAbility(new GenericManaCost(4), false)); // Shrieking Gargoyles -- Whenever Tyranid Harridan or another Tyranid you control deals combat damage to a player, create a 1/1 blue Tyranid Gargoyle creature token with flying. this.addAbility(new TyranidHarridanTriggeredAbility()); diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/mana/conditional/ConditionalManaTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/mana/conditional/ConditionalManaTest.java index 4e5add964b..d084b61a45 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/mana/conditional/ConditionalManaTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/mana/conditional/ConditionalManaTest.java @@ -380,8 +380,8 @@ public class ConditionalManaTest extends CardTestPlayerBase { Assert.assertEquals("mana variations don't fit", 4, manaOptions.size()); assertManaOptions("{R}", manaOptions); assertManaOptions("{C}{C}{C}{R}[{TitansNestManaCondition}]", manaOptions); - assertManaOptions("{C}{C}{C}{C}{R}[{RosheenMeandererManaCondition}]", manaOptions); - assertManaOptions("{C}{C}{C}{C}{C}{C}{C}{R}[{RosheenMeandererManaCondition}{TitansNestManaCondition}]", manaOptions); + assertManaOptions("{C}{C}{C}{C}{R}[{XCostManaCondition}]", manaOptions); + assertManaOptions("{C}{C}{C}{C}{C}{C}{C}{R}[{XCostManaCondition}{TitansNestManaCondition}]", manaOptions); } @Test