update_tests

This commit is contained in:
Paul Hammerton
2022-12-08 10:04:17 +00:00
committed by GitHub
parent dcb689fb76
commit 2db15bee3c
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
// Get Card From Editions Test fixtures
protected final String originalArtShivanDragonEdition = "LEA";
protected final String latestArtShivanDragonEdition = "30A";
protected final String latestArtShivanDragonEdition = "DMR";
protected final String latestArtShivanDragonEditionNoPromo = "M20";
protected final String originalArtLightningDragonEdition = "USG";
@@ -1751,7 +1751,7 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
Date alphaReleaseDate = null;
Date currentDate = Date.from(Instant.now());
Date latestShivanDragonReleaseDateToDate = null; // latest print to date for Shivan is in 30A
Date latestShivanDragonReleaseDateToDate = null; // latest print to date for Shivan is in DMR
try {
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
alphaReleaseDate = format.parse(alphaEditionReleaseDate);

View File

@@ -41,7 +41,7 @@ public class CardEditionCollectionCardMockTestCase extends CardMockTestCase {
CardDb cardDb = FModel.getMagicDb().getCommonCards();
String[] cardNames = { "Shivan Dragon", "Animate Wall", "Balance", "Blessing", "Force of Will" };
String[] expectedSets = { "30A", "30A", "30A", "30A", "DMR" };
String[] expectedSets = { "DMR", "30A", "30A", "30A", "DMR" };
List<PaperCard> cards = new ArrayList<>();
for (int i = 0; i < 5; i++) {
String cardName = cardNames[i];