fix(server): expect inheritedFromAgentId in hire-route claudeLogin call
The hire route now passes inheritedFromAgentId in the claudeLogin options object. Add the field to the exact-match test expectation so the test does not fail on a user-initiated hire. Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
ed49c92852
commit
d24903de77
|
|
@ -1397,7 +1397,14 @@ describe.sequential("agent skill routes", () => {
|
|||
}),
|
||||
}),
|
||||
}),
|
||||
{ claudeLogin: { storedSessionId: null, ownerUserId: "local-board", applyExistingWithoutClaim: false } },
|
||||
{
|
||||
claudeLogin: {
|
||||
storedSessionId: null,
|
||||
ownerUserId: "local-board",
|
||||
applyExistingWithoutClaim: false,
|
||||
inheritedFromAgentId: null,
|
||||
},
|
||||
},
|
||||
);
|
||||
expect(mockApprovalService.create).toHaveBeenCalledWith(
|
||||
"company-1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue