From 6d91ee69d42eabaa6241da39f3ee7114f7845379 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sun, 10 Jan 2021 19:24:29 -0500 Subject: [PATCH] added test to check for changeling cards having isAllCreatureTypes set to true --- Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index 05a53c95ae..8e1bc2b7f6 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -1301,6 +1301,10 @@ public class VerifyCardDataTest { if (card.getAbilities().toArray().length == 1) { // all cards have 1 inner ability to cast fail(card, "abilities", "card's abilities is empty, but ref have text"); } + + if (card.getAbilities().contains(ChangelingAbility.getInstance()) && !card.isAllCreatureTypes()) { + fail(card, "abilities", "card has changeling ability but doesn't have isAllCreatureTypes"); + } } private void checkWrongSymbolsInRules(Card card) {