Skip to content

Commit 57fceab

Browse files
os-zhuangclaude
andcommitted
test(app-crm): drop the 'has security policies' smoke assertion after PolicySchema removal
stack.policies no longer exists. Exhaustive repo grep confirms no remaining .policies collection access or definePolicy/DcPolicy usage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent b817e93 commit 57fceab

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

examples/app-crm/test/smoke.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ describe('app-crm minimal metadata bundle', () => {
109109
expect(rules.some((r) => r.type === 'owner')).toBe(true);
110110
});
111111

112-
it('has security policies', () => {
113-
const policies = stack.policies ?? [];
114-
expect(policies.length).toBeGreaterThanOrEqual(1);
115-
expect(policies.some((p) => p.isDefault)).toBe(true);
116-
});
117112

118113
it('has API endpoints', () => {
119114
expect((stack.apis ?? []).length).toBeGreaterThanOrEqual(2);

0 commit comments

Comments
 (0)