mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-10 07:54:19 +01:00
test(MuteListPolicy): update error msg
This commit is contained in:
@@ -27,7 +27,7 @@ Deno.test('block event: muted user cannot post', async () => {
|
||||
|
||||
const ok = await policy.call(event1authorUserMeCopy);
|
||||
|
||||
assertEquals(ok, ['OK', event1authorUserMeCopy.id, false, 'You are banned in this server.']);
|
||||
assertEquals(ok, ['OK', event1authorUserMeCopy.id, false, 'blocked: Your account has been deactivated.']);
|
||||
});
|
||||
|
||||
Deno.test('allow event: user is NOT muted because there is no muted event', async () => {
|
||||
|
||||
Reference in New Issue
Block a user