Commit 88a8257
test(org-seats): use real Goa enum values in org-seat tests
Address PR #122 review (Copilot + jordane): the org-seat tests used values
outside the Goa design enums, which the generated client validators reject and
which misrepresent the contract. Per jordane, fix the test data rather than
widening the enums:
- Role.Name "Member" → "Lead" ("Member" is not a real committee role; the
non-editable seat's role is not asserted, so any valid role works).
- AppointedBy "Foundation Election" → "Community" (two sites): a valid,
clearly non-entitlement appointed_by value, preserving the non-editable /
forbidden-reassign test intent.
No enum/production changes. gofmt/build/vet/test -race/golangci-lint all green.
Signed-off-by: Luis Mori Guerra <luismorith@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent efda0fa commit 88a8257
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
0 commit comments