mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
@@ -49,7 +49,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";
|
||||||
// next lines need to be updated with each printing of Shivan Dragon
|
// 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 latestArtShivanDragonEditionNoPromo = "DMR";
|
||||||
|
|
||||||
protected final String originalArtLightningDragonEdition = "USG";
|
protected final String originalArtLightningDragonEdition = "USG";
|
||||||
@@ -1757,7 +1757,7 @@ public class CardDbCardMockTestCase extends CardMockTestCase {
|
|||||||
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
alphaReleaseDate = format.parse(alphaEditionReleaseDate);
|
alphaReleaseDate = format.parse(alphaEditionReleaseDate);
|
||||||
// next line needs to be updated each time Shivan Dragon is reprinted
|
// 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) {
|
} catch (ParseException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
fail();
|
fail();
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class CardEditionCollectionCardMockTestCase extends CardMockTestCase {
|
|||||||
|
|
||||||
CardDb cardDb = FModel.getMagicDb().getCommonCards();
|
CardDb cardDb = FModel.getMagicDb().getCommonCards();
|
||||||
String[] cardNames = { "Shivan Dragon", "Animate Wall", "Balance", "Blessing", "Force of Will" };
|
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<>();
|
List<PaperCard> cards = new ArrayList<>();
|
||||||
for (int i = 0; i < 5; i++) {
|
for (int i = 0; i < 5; i++) {
|
||||||
String cardName = cardNames[i];
|
String cardName = cardNames[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user