fix(server): update hire-route test to expect inheritedFromAgentId
The route now sets inheritedFromAgentId on the claudeLogin claim for every hire. The prior test did not expect this field, so it failed the exact-equality check for a board-user hire, where the value is null. Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
65e3780f3e
commit
34bb4c9218
|
|
@ -1283,7 +1283,14 @@ describe.sequential("agent permission routes", () => {
|
|||
},
|
||||
},
|
||||
}),
|
||||
{ claudeLogin: { storedSessionId: null, ownerUserId: "board-user", applyExistingWithoutClaim: false } },
|
||||
{
|
||||
claudeLogin: {
|
||||
storedSessionId: null,
|
||||
ownerUserId: "board-user",
|
||||
applyExistingWithoutClaim: false,
|
||||
inheritedFromAgentId: null,
|
||||
},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue