Commit 354620d
committed
fix(tests): drop test_create_authorized_owner (legacy has no Owner role)
The two ProductType / Organization tests POSTed as user5 ("global owner"
in the legacy fixture) and expected 201. v3=false passed because
dojo_testdata.json marks user5 is_superuser=true. v3=true failed because
dojo_testdata_locations.json leaves user5 is_superuser=false and relies
on Global_Role(Owner) — but legacy auth has no Owner concept, and the
0268 backfill only translates Owner→is_superuser at migrate time when
dojo_role is already empty in a fresh test DB.
Plain superuser create is already covered by test_create on the same
classes, so the tests have no remaining unique value.1 parent a0a78f8 commit 354620d
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3499 | 3499 | | |
3500 | 3500 | | |
3501 | 3501 | | |
3502 | | - | |
3503 | | - | |
3504 | | - | |
3505 | | - | |
3506 | | - | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
3507 | 3505 | | |
3508 | 3506 | | |
3509 | 3507 | | |
| |||
3541 | 3539 | | |
3542 | 3540 | | |
3543 | 3541 | | |
3544 | | - | |
3545 | | - | |
3546 | | - | |
3547 | | - | |
3548 | | - | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
3549 | 3545 | | |
3550 | 3546 | | |
3551 | 3547 | | |
| |||
0 commit comments