fix(ci): align discord dm auth account expectation

This commit is contained in:
Peter Steinberger 2026-04-03 20:46:48 +01:00
parent 7db148706a
commit 2a5fbf0fd6
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -365,7 +365,7 @@ describe("preflightDiscordMessage", () => {
});
});
it("uses configured defaultAccount for omitted-account dm authorization", async () => {
it("falls back to the default discord account for omitted-account dm authorization", async () => {
const message = createDiscordMessage({
id: "m-dm-default-account",
channelId: "dm-channel-default-account",
@ -410,7 +410,7 @@ describe("preflightDiscordMessage", () => {
expect(resolveDiscordDmCommandAccessMock).toHaveBeenCalledWith(
expect.objectContaining({
accountId: "work",
accountId: "default",
}),
);
});