mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
fix tests
This commit is contained in:
@@ -48,8 +48,9 @@ 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 latestArtShivanDragonEditionNoPromo = "M20";
|
||||
protected final String latestArtShivanDragonEditionNoPromo = "DMR";
|
||||
|
||||
protected final String originalArtLightningDragonEdition = "USG";
|
||||
protected final String originalArtLightningDragonEditionNoPromo = "USG";
|
||||
@@ -1751,11 +1752,12 @@ 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 DMR
|
||||
Date latestShivanDragonReleaseDateToDate = null;
|
||||
try {
|
||||
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
||||
alphaReleaseDate = format.parse(alphaEditionReleaseDate);
|
||||
latestShivanDragonReleaseDateToDate = format.parse("2022-11-28");
|
||||
// next line needs to be updated each time Shivan Dragon is reprinted
|
||||
latestShivanDragonReleaseDateToDate = format.parse("2023-03-31");
|
||||
} catch (ParseException e) {
|
||||
e.printStackTrace();
|
||||
fail();
|
||||
|
||||
Reference in New Issue
Block a user