Skip to content

Commit

Permalink
test: fixed start requirement user to be a collaborator
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jan 12, 2025
1 parent 705492f commit 217eb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ describe("User start/stop", () => {

test("Should not allow a user to start if no requiredLabelToStart exists", async () => {
const issue = db.issue.findFirst({ where: { id: { equals: 7 } } }) as unknown as Issue;
const sender = db.users.findFirst({ where: { id: { equals: 1 } } }) as unknown as PayloadSender;
const sender = db.users.findFirst({ where: { id: { equals: 3 } } }) as unknown as PayloadSender;

const context = createContext(issue, sender, "/start", "1", false, [
{ name: priority3LabelName, allowedRoles: ["collaborator", "contributor"] },
Expand Down

0 comments on commit 217eb2e

Please sign in to comment.