mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
update tests
This commit is contained in:
@@ -1946,11 +1946,11 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
|
||||
if (legacyMilitantAngel != null)
|
||||
assertEquals(militantAngel, legacyMilitantAngel);
|
||||
|
||||
// Loyal Unicorn: Available in Forge in The List and COMMANDER 2018
|
||||
// Loyal Unicorn: Available in Forge in Commander Masters, The List and COMMANDER 2018
|
||||
String cnLoyalUnicorn = "Loyal Unicorn";
|
||||
PaperCard loyalUnicorn = this.cardDb.getCard(cnLoyalUnicorn);
|
||||
assertNotNull(loyalUnicorn);
|
||||
assertEquals(loyalUnicorn.getEdition(), "PLIST"); // The List
|
||||
assertEquals(loyalUnicorn.getEdition(), "CMM"); // Commander Masters
|
||||
|
||||
PaperCard legacyLoyalUnicorn = this.legacyCardDb.getCardFromEdition(cnLoyalUnicorn,
|
||||
LegacyCardDb.LegacySetPreference.Latest);
|
||||
|
||||
@@ -1268,7 +1268,7 @@ public class DeckRecognizerTest extends CardMockTestCase {
|
||||
tokenCard = cardToken.getCard();
|
||||
assertEquals(cardToken.getQuantity(), 2);
|
||||
assertEquals(tokenCard.getName(), "Counterspell");
|
||||
assertEquals(tokenCard.getEdition(), "DMR");
|
||||
assertEquals(tokenCard.getEdition(), "CMM");
|
||||
assertTrue(cardToken.cardRequestHasNoCode());
|
||||
|
||||
}
|
||||
@@ -1593,7 +1593,7 @@ public class DeckRecognizerTest extends CardMockTestCase {
|
||||
//assertEquals(cardToken.getTokenSection(), DeckSection.Main); //fix test since signature spell is allowed on commander section
|
||||
PaperCard tc = cardToken.getCard();
|
||||
assertEquals(tc.getName(), "Counterspell");
|
||||
assertEquals(tc.getEdition(), "DMR");
|
||||
assertEquals(tc.getEdition(), "CMM");
|
||||
assertTrue(cardToken.cardRequestHasNoCode());
|
||||
|
||||
// Setting Original Core
|
||||
|
||||
Reference in New Issue
Block a user