Fix MuteListPolicy test

This commit is contained in:
Alex Gleason 2025-02-21 18:59:14 -06:00
parent 6b1aadc24c
commit d2abb1f1e4
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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 () => {