Skip to content

Node.js based forum software built for the modern web

fix(tests): grant fediverse group global chat privileges

Julian Lam57b02015119f
diff --git a/test/activitypub/inbox.js b/test/activitypub/inbox.js
index 3654f5ca60..04a12987fe 100644
--- a/test/activitypub/inbox.js
+++ b/test/activitypub/inbox.js
@@ -724,6 +724,9 @@ describe('Inbox', () => {
this.remoteId = remote.id;
const result = await activitypub.actors.assert([remote.id]);
+ // Grant fediverse group global chat privileges for remote actor message deletion
+ await privileges.global.give(['groups:chat', 'groups:chat:privileged'], 'fediverse');
+
// Create a private chat room between the users
const { note } = helpers.mocks.note({
attributedTo: remote.id,