Skip to content

Commit 3fc48ab

Browse files
committed
test: drop an undeclared approval config key from three clean-flow fixtures
The publish-gate fixtures' "clean" approval flow carried emptyApproverPolicy, a key the approval contract never declared; the build doors now judge that contract whole, so the fixture was never clean. Claude-Session: https://claude.ai/code/session_01T9u38rswFp5Rw8DswRUReJ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7cfdb16 commit 3fc48ab

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎packages/lint/src/runtime-gate.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const cleanApprovalFlow = {
4545
type: 'approval',
4646
config: {
4747
approvers: [{ type: 'expression', value: 'current.owner' }],
48-
emptyApproverPolicy: 'reject',
4948
},
5049
},
5150
],

‎packages/metadata-protocol/src/protocol.runtime-authoring-gate.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ const validApprovalFlow = () => {
7070
const flow = brokenApprovalFlow();
7171
flow.nodes[1]!.config = {
7272
approvers: [{ type: 'expression', value: 'current.owner' }],
73-
emptyApproverPolicy: 'reject',
7473
} as any;
7574
return flow;
7675
};

‎packages/objectql/src/plugin.authoring-channel.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ describe('#6710 — the authoring channel is threaded from plugin option to prot
274274
const flow = brokenApprovalFlow();
275275
(flow.nodes[1] as any).config = {
276276
approvers: [{ type: 'expression', value: 'current.owner' }],
277-
emptyApproverPolicy: 'reject',
278277
};
279278
const result = await (kernel.getService('protocol') as any).saveMetaItem({
280279
type: 'flow', name: 'leave_approval', item: flow,

0 commit comments

Comments
 (0)