Fix buggy login in SyrKonradTheGrimTriggeredAbility.checkTrigger()

Basically needed to check that creatures leaving the graveyard belong to
the controlling player.
This commit is contained in:
Adrian Petrescu 2019-10-11 09:59:06 -04:00
parent e9bbefb814
commit 69cff6c920
2 changed files with 9 additions and 3 deletions

View file

@ -8,11 +8,13 @@ import org.mage.test.serverside.base.CardTestPlayerBase;
public class SyrKonradTheGrimTest extends CardTestPlayerBase {
@Test
public void ownGraveyardTriggerTest() {
public void leavesOwnGraveyardTriggerTest() {
addCard(Zone.HAND, playerA, "Rest in Peace");
addCard(Zone.BATTLEFIELD, playerA, "Plains", 2);
addCard(Zone.BATTLEFIELD, playerA, "Syr Konrad, the Grim");
// These leaving the graveyard *should* cause loss of life
addCard(Zone.GRAVEYARD, playerA, "Grizzly Bears", 2);
// These ones *shouldn't*
addCard(Zone.GRAVEYARD, playerB, "Grizzly Bears");
setStopAt(1, PhaseStep.UNTAP);
execute();