test(MuteListPolicy): update error msg
This commit is contained in:
parent
fe66937bba
commit
04968fefaa
|
@ -27,7 +27,7 @@ Deno.test('block event: muted user cannot post', async () => {
|
||||||
|
|
||||||
const ok = await policy.call(event1authorUserMeCopy);
|
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 () => {
|
Deno.test('allow event: user is NOT muted because there is no muted event', async () => {
|
||||||
|
|
Loading…
Reference in New Issue