Tests: fixed miss commands, fixed debug info for permanents on battlefield;

This commit is contained in:
Oleg Agafonov 2021-07-17 19:43:05 +04:00
parent daed98fb0b
commit f2ba76ca75
2 changed files with 7 additions and 0 deletions

View file

@ -221,8 +221,10 @@ public class LayerTests extends CardTestPlayerBase {
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 1);
addCard(Zone.BATTLEFIELD, playerB, "Island", 1);
setStrictChooseMode(true);
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
execute();
assertAllCommandsUsed();
// all lands are forests in addition to other types
assertType("Plains", CardType.CREATURE, SubType.FOREST);

View file

@ -220,4 +220,9 @@ public class PermanentCard extends PermanentImpl {
public Card getMainCard() {
return card.getMainCard();
}
@Override
public String toString() {
return card.toString();
}
}