backup ability: fixed wrong duration and discard in Streetwise Negotiator, added related tests and runtime/verify checks (related to #11068)

This commit is contained in:
Oleg Agafonov 2023-08-31 07:27:59 +04:00
parent 9085820605
commit 060b8f9dc9
5 changed files with 43 additions and 15 deletions

View file

@ -2646,6 +2646,7 @@ public class VerifyCardDataTest {
setInfo.getCardNumber(), setInfo.getRarity(), setInfo.getGraphicInfo()));
if (card == null) {
errorsList.add("Error: broken constructor " + setInfo.getCardClass());
continue;
}
if (!card.getExpansionSetCode().equals(set.getCode())) {
errorsList.add("Error: card constructor have custom expansionSetCode, must be removed " + setInfo.getCardClass());