forked from External/mage
merge fix
This commit is contained in:
parent
ead0904fd5
commit
4556af26a2
1 changed files with 3 additions and 3 deletions
|
|
@ -307,7 +307,7 @@ public class TokenImagesTest extends CardTestPlayerBase {
|
|||
Assert.assertEquals(prefix + " - wrong supertypes", "[]", object.getSuperType(currentGame).toString());
|
||||
Assert.assertEquals(prefix + " - wrong types", "[Creature]", object.getCardType(currentGame).toString());
|
||||
Assert.assertEquals(prefix + " - wrong subtypes", "[]", object.getSubtype(currentGame).toString());
|
||||
Assert.assertEquals(prefix + " - wrong abilities", 2, object.getAbilities().size()); // become face down + face up abilities only
|
||||
Assert.assertTrue(prefix + " - wrong abilities", object.getAbilities().stream().anyMatch(a -> !CardUtil.isInformationAbility(a))); // become face down + face up abilities only
|
||||
}
|
||||
|
||||
private void assertOriginalData(String info, CardView cardView, int needPower, int needToughness, String needColor) {
|
||||
|
|
@ -907,7 +907,7 @@ public class TokenImagesTest extends CardTestPlayerBase {
|
|||
String needName = "Forest";
|
||||
Assert.assertTrue("server side - must be face down", card.isFaceDown(currentGame));
|
||||
Assert.assertEquals("server side - wrong name", needName, card.getName());
|
||||
Assert.assertEquals("server side - wrong abilities", 2, card.getAbilities(currentGame).size()); // play + add mana
|
||||
Assert.assertTrue("server side - wrong abilities", card.getAbilities(currentGame).stream().anyMatch(a -> !CardUtil.isInformationAbility(a))); // play + add mana
|
||||
|
||||
// client side - controller (hidden data + original name)
|
||||
needName = "Face Down: Forest";
|
||||
|
|
@ -960,7 +960,7 @@ public class TokenImagesTest extends CardTestPlayerBase {
|
|||
String needName = "Behold the Multiverse";
|
||||
Assert.assertTrue("server side - must be face down", card.isFaceDown(currentGame));
|
||||
Assert.assertEquals("server side - wrong name", needName, card.getName());
|
||||
Assert.assertTrue("server side - wrong abilities", card.getAbilities(currentGame).size() > 0);
|
||||
Assert.assertTrue("server side - wrong abilities", card.getAbilities(currentGame).stream().anyMatch(a -> !CardUtil.isInformationAbility(a)));
|
||||
|
||||
// client side - controller (hidden data + original name)
|
||||
needName = "Foretell: Behold the Multiverse";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue