Skip to content

Commit 712c407

Browse files
committed
test(dogfood): update env-authored managed_by assertions to 'admin' (A4 vocab)
A4 unified record-level managed_by onto platform/package/admin; env-authored permission sets now project as 'admin' (formerly 'user'). Update the two showcase-permission-projection assertions the vocab change made stale. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019QRUvVfpvSycAHMMF2xTxs
1 parent 6e61e43 commit 712c407

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/dogfood/test/showcase-permission-projection.dogfood.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('sys_permission_set pure projection (ADR-0094)', () => {
5959
// env-owned, not forged package provenance.
6060
const row = await findSet(NAME);
6161
expect(row, 'record projected synchronously with the create').toBeTruthy();
62-
expect(row.managed_by).toBe('user');
62+
expect(row.managed_by).toBe('admin');
6363
expect(JSON.parse(row.object_permissions)).toEqual({ crm_lead: { allowRead: true } });
6464

6565
// …and the authoritative store is the metadata overlay, not the row.
@@ -163,7 +163,7 @@ describe('sys_permission_set pure projection (ADR-0094)', () => {
163163
// the projector, not left invisible as before ADR-0094).
164164
const row = await findSet(NAME);
165165
expect(row, 'Studio-authored env set appears in Setup').toBeTruthy();
166-
expect(row.managed_by).toBe('user');
166+
expect(row.managed_by).toBe('admin');
167167
expect(JSON.parse(row.object_permissions)).toEqual({ crm_lead: { allowRead: true } });
168168
});
169169
});

0 commit comments

Comments
 (0)