mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
refactor: improved card info
This commit is contained in:
parent
b1e4ea2790
commit
ad8e7daf97
47 changed files with 84 additions and 81 deletions
|
|
@ -620,7 +620,7 @@ public class VerifyCardDataTest {
|
|||
CardInfo cardInfo = CardRepository.instance.findCardsByClass(info.getCardClass().getCanonicalName()).stream().findFirst().orElse(null);
|
||||
Assert.assertNotNull(cardInfo);
|
||||
|
||||
Card card = cardInfo.getCard();
|
||||
Card card = cardInfo.createCard();
|
||||
Card secondCard = card.getSecondCardFace();
|
||||
if (secondCard != null) {
|
||||
if (set.findCardInfoByClass(secondCard.getClass()).isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue