Commit b21eba0
Fix bulk_assign tests to not depend on removed member mutation
test_bulk_assign_data_rows and test_bulk_assign_data_rows_with_allowed_statuses
relied on the project_based_user fixture, which creates an org member via the
addMembersToOrganization mutation. That mutation was removed from the API back
in intelligence #11829 (a2bdf13f69, 2022-11-15), so the fixture has been
erroring at setup ever since (masked by the chronically-red integration suite).
There is no public-API replacement that yields an assignable member without
email-invite acceptance (invite_user returns a pending Invite, not a User).
bulk_assign_data_rows only needs a valid member uid, so assign to the current
authenticated user (client.get_user()) instead. This keeps the live
bulk_assign_data_rows feature under test rather than dropping coverage.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b28a12c commit b21eba0
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | | - | |
| 19 | + | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
0 commit comments