Skip to content

Commit d39ed08

Browse files
committed
test(cli): name the applied organization_id drops in the apply pin's failure message
Claude-Session: https://claude.ai/code/session_01Q9PZ5Pzqcus4woVvTZwWNU Co-authored-by: Claude <noreply@anthropic.com>
1 parent 90c79b5 commit d39ed08

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,8 @@ describe('os migrate apply --allow-destructive: the organization_id drop on a ho
427427
const dbFile = applyCase('no-marker');
428428
const { payload, exitCode } = await migrateApply(dbFile);
429429

430-
expect(exitCode, JSON.stringify(payload).slice(0, 600)).toBe(1);
430+
const seen = { message: payload.message, error: payload.error, appliedOrganizationDrops: organizationDropsIn(payload.applied) };
431+
expect(exitCode, JSON.stringify(seen)).toBe(1);
431432
expect(payload).toMatchObject({
432433
message: 'refused_organization_ownership_unmigrated',
433434
tables: [...DECLARED].sort(),

0 commit comments

Comments
 (0)