Commit 9e2b576
Fix: Update CardUtilsTest assertions to match new filterAllInactiveCards behavior
Tests were asserting old behavior where only admin-zeroed suspended cards
were kept. Updated to reflect the new logic: all suspended cards are kept
when includeDeactivated is true, and STATE_DEACTIVATED cards are always
excluded since the server rejects limit updates on them.
Co-authored-by: Georgia Monahan <grgia@users.noreply.github.com>1 parent b6bd285 commit 9e2b576
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3441 | 3441 | | |
3442 | 3442 | | |
3443 | 3443 | | |
3444 | | - | |
| 3444 | + | |
| 3445 | + | |
3445 | 3446 | | |
| 3447 | + | |
| 3448 | + | |
3446 | 3449 | | |
3447 | | - | |
3448 | 3450 | | |
3449 | 3451 | | |
3450 | 3452 | | |
| |||
3495 | 3497 | | |
3496 | 3498 | | |
3497 | 3499 | | |
3498 | | - | |
| 3500 | + | |
3499 | 3501 | | |
| 3502 | + | |
3500 | 3503 | | |
| 3504 | + | |
| 3505 | + | |
3501 | 3506 | | |
3502 | | - | |
3503 | 3507 | | |
3504 | 3508 | | |
3505 | 3509 | | |
| |||
0 commit comments