Commit f0fd39c
committed
test(audience-sdk): extend TestFixtures with Steam / Passport / generic user ID fixtures
ImmutableAudienceTests had four inline ID fixtures around the
identity / alias write tests:
- "76561198012345": real-shape Steam community 64-bit ID, used as
the Identify input AND as the queue-content assertion subject
- "user1": minimal generic userId for the discarded-identify test
- "steam123": generic Steam ID for the alias-write test, used as
both Alias input and queue-content assertion subject
- "user_456": generic Passport ID for the alias-write test
Adds SteamId64, GenericUserSingleId, SteamId, PassportId to
TestFixtures and migrates the six call sites. The SteamId64 / SteamId
input-assertion pairs were the worst offenders since a typo on one
side would silently pass on the other.
Per the user's "everything random goes in a constant" stance.
Follow-up to SDK-272 (centralisation of duplicated literals).1 parent 2ff6e44 commit f0fd39c
2 files changed
Lines changed: 15 additions & 5 deletions
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
| 623 | + | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
| 660 | + | |
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
95 | 105 | | |
96 | 106 | | |
0 commit comments