Page 1 of 1

NacatlWarPrideBlockOneCreature Test failure

PostPosted: 10 Mar 2017, 17:00
by austinio7116
Building for the first time and getting a failed test:

testNacatlWarPrideBlockOneCreature(org.mage.test.cards.requirement.BlockRequirementTest) Time elapsed: 66.504 sec <<< FAILURE!
java.lang.AssertionError: (Graveyard PlayerA) Card counts are not equal (Nacatl War-Pride) expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.mage.test.serverside.base.impl.CardTestPlayerAPIImpl.assertGraveyardCount(CardTestPlayerAPIImpl.java:897)
at org.mage.test.cards.requirement.BlockRequirementTest.testNacatlWarPrideBlockOneCreature(BlockRequirementTest.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Looks like a fairly recent checkin. Is this failing for everyone?

Re: NacatlWarPrideBlockOneCreature Test failure

PostPosted: 10 Mar 2017, 21:42
by jeffwadsworth
Thanks for reminding me. I never bothered to check that test before because I thought it may be time-consuming to troubleshoot. Fixed now.

Re: NacatlWarPrideBlockOneCreature Test failure

PostPosted: 10 Mar 2017, 23:04
by austinio7116
Great. Really nice suite of tests you have here.