tests: two team-scope tests mint as an owner (H4 r1)
Follow-up to c008e3e1: TestTeamScopeRefusesRegionalClaim and TestTeamScopeHoldsForTheClaimRevisionServed drive owner doors with the team fixture credential, now held to its minter's role (ownerMintsServices).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+2
−0
internal/console/regional_writers_test.go+2 −0
diff --git a/internal/console/regional_writers_test.go b/internal/console/regional_writers_test.go| index 0849693fb..5b9ffed02 100644 |
| --- a/internal/console/regional_writers_test.go |
| +++ b/internal/console/regional_writers_test.go |
| @@ -121,6 +121,7 @@ func newShopApp(t *testing.T, fx *consoleFixture) { |
| // list leaves it out, and the claim is untouched. |
| func TestTeamScopeRefusesRegionalClaim(t *testing.T) { |
| w := newTeamWorld(t, "code-team-regional") |
| + ownerMintsServices(t, w.fx) |
| const host = "shop.example.com" |
| putRegionalClaim(t, w.fx.rel, host, "bab", "titogo", "mine.go.tito.io", false, false) |
| raw, etag := regionalClaimBytes(t, w.fx.rel, host) |
| @@ -465,6 +466,7 @@ func TestTeamScopeHoldsForTheClaimRevisionServed(t *testing.T) { |
| clock = useLifetimesClock(t) |
| } |
| w := newTeamWorld(t, "code-team-race") |
| + ownerMintsServices(t, w.fx) |
| if c.lifetimesOn { |
| turnLifetimesOn(t, w.fx.srv, clock) |
| } |