forked from External/mage
images: added new tokens from promo and other sets, fixed miss images (#13492)
* add missing tokens images * fix broken card images * remove tokens without image * remove copy tokens references (embalm, eternalize)
This commit is contained in:
parent
730bd8e63d
commit
b6421e4b6c
7 changed files with 703 additions and 163 deletions
|
|
@ -43,7 +43,7 @@ public class ScryfallImagesDownloadTest {
|
|||
.anyMatch(c -> c.getCardNumber().equals("001"))
|
||||
);
|
||||
urls = imageSource.generateCardUrl(new CardDownloadData("The One Ring", "LTR", "001", false, 0));
|
||||
Assert.assertEquals("https://api.scryfall.com/cards/ltr/0/en?format=image", urls.getBaseUrl());
|
||||
Assert.assertEquals("https://api.scryfall.com/cards/ltr/0/qya?format=image", urls.getBaseUrl());
|
||||
|
||||
|
||||
// added same tests for small images
|
||||
|
|
@ -74,6 +74,6 @@ public class ScryfallImagesDownloadTest {
|
|||
.anyMatch(c -> c.getCardNumber().equals("001"))
|
||||
);
|
||||
urls = imageSourceSmall.generateCardUrl(new CardDownloadData("The One Ring", "LTR", "001", false, 0));
|
||||
Assert.assertEquals("https://api.scryfall.com/cards/ltr/0/en?format=image&version=small", urls.getBaseUrl());
|
||||
Assert.assertEquals("https://api.scryfall.com/cards/ltr/0/qya?format=image&version=small", urls.getBaseUrl());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue