Skip to content

Commit 7bc7c5c

Browse files
committed
test: the planned-row control authors a valid externalSharingModel value
Claude-Session: https://claude.ai/code/session_017VaLJnYwhPsanVCe9dMCJU Co-authored-by: Claude <noreply@anthropic.com>
1 parent fdaa4cf commit 7bc7c5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/cli/test/validate-lint-mapping-connector-source.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ beforeAll(() => {
119119
dirs[label] = dir;
120120
};
121121
make('card', stack());
122-
make('control', stack({ externalSharingModel: 'read' }));
122+
make('control', stack({ externalSharingModel: 'private' }));
123123
});
124124

125125
afterAll(() => {

‎packages/lint/src/lint-liveness-properties.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,7 @@ describe('#21127 — a stack authoring `mapping.connectorSource` lints clean, an
18681868
// `object.externalSharingModel` is `planned` + `authorWarn` in tree — the
18691869
// legal shape: a consumer is being built, keep the key, it does nothing yet.
18701870
const findings = lintLivenessProperties({
1871-
objects: [{ ...FX_ACCOUNT, externalSharingModel: 'read' }],
1871+
objects: [{ ...FX_ACCOUNT, externalSharingModel: 'private' }],
18721872
mappings: [FX_PULL],
18731873
});
18741874
const planned = findings.filter((f) => f.rule === 'liveness-planned-property');

0 commit comments

Comments
 (0)