Skip to content

Commit 0df297b

Browse files
committed
test(cli): the platform-global drop-gate pin reads the refusal's new detail
The integration pin still matched the withdrawn os migrate organization-ownership --apply in the --json detail; it now asserts the ceremony is named and no step of the command 18.0 refuses is. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SYEJqDL3NXxrJRBVqaMu9T
1 parent 69778e4 commit 0df297b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/cli/src/utils/organization-ownership-platform-global-column-drop.integration.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,9 @@ describe('os migrate apply --allow-destructive: the organization_id drop on a ho
436436
created: [],
437437
marker: null,
438438
});
439-
expect(payload.detail).toMatch(/os migrate organization-ownership --apply/);
439+
expect(payload.detail).toMatch(/organization-ownership ceremony/);
440+
// 18.0 refuses `os migrate organization-ownership` on every database: the refusal names no step of it.
441+
expect(payload.detail).not.toMatch(/os migrate organization-ownership|--plan-file|organization-ownership --out/);
440442
// The drops the refusal held back are the ones the drift offered.
441443
expect(organizationDropsIn(payload.skipped)).toEqual([...DECLARED].sort());
442444
for (const table of HOST_OBJECTS) expect(hasOrganizationColumn(dbFile, table), table).toBe(true);

0 commit comments

Comments
 (0)