deck: added old promo sets with boosters: Renaissance and Rinascimento (close #13906);

This commit is contained in:
Oleg Agafonov 2025-08-15 08:14:51 +04:00
parent 5bede15130
commit aa1915cd13
4 changed files with 254 additions and 0 deletions

View file

@ -1121,6 +1121,7 @@ public class VerifyCardDataTest {
Set<String> implementedSets = sets.stream().map(ExpansionSet::getCode).collect(Collectors.toSet());
MtgJsonService.sets().values().forEach(jsonSet -> {
if (jsonSet.booster != null && !jsonSet.booster.isEmpty() && !implementedSets.contains(jsonSet.code)) {
// how-to fix: it's miss promo sets with boosters, so just add/generate it in most use cases
errorsList.add(String.format("Error: missing set implementation (important for draft format) - %s - %s - boosters: %s",
jsonSet.code,
jsonSet.name,