Refactoring token names to reflect new rule (ready for review) (#8446)

* updated Riptide Replicator and Volrath's Laboratory

* refactored token names

* some test fixes

* more test fixes

* even more test fixes

* the final test fixes

* fixed a few missed tokens

* merge fix

* fixed a test failure

* fixed test failure

* updated ignored verify test

* fixed token images not appearing

* updated tests
This commit is contained in:
Evan Kranzler 2022-03-14 22:37:21 -04:00 committed by GitHub
parent 83c94322c6
commit 9e0ea945ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
637 changed files with 950 additions and 1034 deletions

View file

@ -487,7 +487,7 @@ public final class ImageCache {
* Returns the map key for a card, without any suffixes for the image size.
*/
private static String getKey(CardView card, String name, String suffix) {
return name
return (card.isToken() ? name.replace(" Token", "") : name)
+ '#' + card.getExpansionSetCode()
+ '#' + card.getType()
+ '#' + card.getCardNumber()