mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Fix MuteListPolicy test
This commit is contained in:
parent
6b1aadc24c
commit
d2abb1f1e4
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,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, 'blocked: Your account has been deactivated.']);
|
assertEquals(ok, ['OK', event1authorUserMeCopy.id, false, 'blocked: account blocked']);
|
||||||
});
|
});
|
||||||
|
|
||||||
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…
Add table
Reference in a new issue