Skip to content

Commit d2279e6

Browse files
committed
test(runtime): the unregistered-object pin's read answers the stored row
Claude-Session: https://claude.ai/code/session_01QsR2jVTYADzVWfarACx5j3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3ba211d commit d2279e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/runtime/src/domains/automation-record-update-starts.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ describe('POST /automation/_record-starts (#35928)', () => {
170170

171171
it('refuses a change on an object the registry does not declare, and never asks the engine', async () => {
172172
const { dispatcher, listRecordUpdateStarts, getData } = makeDispatcher();
173-
getData.mockImplementationOnce(async ({ object, id }: any) => ({ object, id, record: { id } }));
173+
getData.mockImplementationOnce(async ({ object, id }: any) => ({ object, id, record: { ...STORED } }));
174174

175175
const result = await dispatcher.handleAutomation('/_record-starts', 'POST', { ...BODY, object: 'unregistered' }, MEMBER());
176176

0 commit comments

Comments
 (0)