From 09a3c8ab5096b8e1c1348e57750b617ecdbbf2ad Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 30 Sep 2026 17:24:46 -0500 Subject: [PATCH] test: account for authenticated task direction in route fixtures Co-Authored-By: Paperclip --- server/src/__tests__/issue-activity-events-routes.test.ts | 1 + server/src/__tests__/issue-comment-reopen-routes.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/server/src/__tests__/issue-activity-events-routes.test.ts b/server/src/__tests__/issue-activity-events-routes.test.ts index 76594b855d..ba7f9fcbf7 100644 --- a/server/src/__tests__/issue-activity-events-routes.test.ts +++ b/server/src/__tests__/issue-activity-events-routes.test.ts @@ -182,6 +182,7 @@ function issueUpdateWithReceipt(issue: ReturnType, patch: Reco actorRunId: _actorRunId, actorRunStopId: _actorRunStopId, actorUserId: _actorUserId, + humanDirectedByUserId: _humanDirectedByUserId, blockedByIssueIds: _blockedByIssueIds, ...issuePatch } = patch; diff --git a/server/src/__tests__/issue-comment-reopen-routes.test.ts b/server/src/__tests__/issue-comment-reopen-routes.test.ts index 2344333920..d5237dc9b8 100644 --- a/server/src/__tests__/issue-comment-reopen-routes.test.ts +++ b/server/src/__tests__/issue-comment-reopen-routes.test.ts @@ -1427,6 +1427,7 @@ describe.sequential("issue comment reopen routes", () => { authorizationReason: "allow_board_actor", clientRequestId: undefined, mirrorToSlack: true, + humanDirectedByUserId: "local-board", presentation: { kind: "system_notice", tone: "warning",