mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
test
This commit is contained in:
@@ -48,7 +48,7 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
|
|||||||
|
|
||||||
// Get Card From Editions Test fixtures
|
// Get Card From Editions Test fixtures
|
||||||
protected final String originalArtShivanDragonEdition = "LEA";
|
protected final String originalArtShivanDragonEdition = "LEA";
|
||||||
protected final String latestArtShivanDragonEdition = "M20";
|
protected final String latestArtShivanDragonEdition = "P30H";
|
||||||
|
|
||||||
protected final String originalArtLightningDragonEdition = "USG";
|
protected final String originalArtLightningDragonEdition = "USG";
|
||||||
protected final String originalArtLightningDragonEditionNoPromo = "USG";
|
protected final String originalArtLightningDragonEditionNoPromo = "USG";
|
||||||
@@ -1749,11 +1749,11 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
|
|||||||
|
|
||||||
Date alphaRelaseDate = null;
|
Date alphaRelaseDate = null;
|
||||||
Date currentDate = Date.from(Instant.now());
|
Date currentDate = Date.from(Instant.now());
|
||||||
Date latestShivanDragonReleaseDateToDate = null; // latest print to date for Shivan is in M20
|
Date latestShivanDragonReleaseDateToDate = null; // latest print to date for Shivan is in P30H
|
||||||
try {
|
try {
|
||||||
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
alphaRelaseDate = format.parse(alphaEditionReleaseDate);
|
alphaRelaseDate = format.parse(alphaEditionReleaseDate);
|
||||||
latestShivanDragonReleaseDateToDate = format.parse("2019-07-12");
|
latestShivanDragonReleaseDateToDate = format.parse("2022-09-09");
|
||||||
} catch (ParseException e) {
|
} catch (ParseException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
fail();
|
fail();
|
||||||
|
|||||||
Reference in New Issue
Block a user