Skip to content

Node.js based forum software built for the modern web

fix(test): enable postQueue config for severity 3 filter tests

Julian Lamd44fbc6be833
diff --git a/test/activitypub/notes.js b/test/activitypub/notes.js
index 7cb32ce916..1c50153e63 100644
--- a/test/activitypub/notes.js
+++ b/test/activitypub/notes.js
@@ -453,9 +453,11 @@ describe('Notes', () => {
before(async () => {
activitypub.instances._originalIsAllowed = activitypub.instances.isAllowed;
+ meta.config.postQueue = 1;
});
after(async () => {
+ delete meta.config.postQueue;
if (activitypub.instances._originalIsAllowed) {
activitypub.instances.isAllowed = activitypub.instances._originalIsAllowed;
}