Skip to content

Commit

Permalink
update suspension error code
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Jan 22, 2025
1 parent e72d067 commit 8417af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/commands/suspendCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe("Test: suspend/unsuspend command", function () {
await badUser.sendMessage(room, { msgtype: "m.text", body: `testing` });
assert.fail("Bad user successfully sent message.");
} catch (error) {
assert.match(error.message, /ORG.MATRIX.MSC3823.USER_ACCOUNT_SUSPENDED/i);
assert.match(error.message, /M_USER_SUSPENDED/i);
}

let reply2 = new Promise(async (resolve, reject) => {
Expand Down

0 comments on commit 8417af9

Please sign in to comment.