Merge pull request #3507 from paulsnoops/P30T_fix

Fix tests
This commit is contained in:
Paul Hammerton
2023-07-21 14:48:51 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
// Get Card From Editions Test fixtures
protected final String originalArtShivanDragonEdition = "LEA";
// next lines need to be updated with each printing of Shivan Dragon
protected final String latestArtShivanDragonEdition = "DMR";
protected final String latestArtShivanDragonEdition = "P30T";
protected final String latestArtShivanDragonEditionNoPromo = "DMR";
protected final String originalArtLightningDragonEdition = "USG";
@@ -1757,7 +1757,7 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
alphaReleaseDate = format.parse(alphaEditionReleaseDate);
// next line needs to be updated each time Shivan Dragon is reprinted
latestShivanDragonReleaseDateToDate = format.parse("2023-03-31");
latestShivanDragonReleaseDateToDate = format.parse("2023-09-31");
} catch (ParseException e) {
e.printStackTrace();
fail();

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 = { "DMR", "30A", "30A", "30A", "DMR" };
String[] expectedSets = { "P30T", "30A", "30A", "30A", "DMR" };
List<PaperCard> cards = new ArrayList<>();
for (int i = 0; i < 5; i++) {
String cardName = cardNames[i];