Node.js based forum software built for the modern web
fix: upsert instead of add
Julian Lam5428abaac6cd
diff --git a/test/topics/crossposts.js b/test/topics/crossposts.jsindex 9b1779bc9c..104c16ce4c 100644--- a/test/topics/crossposts.js+++ b/test/topics/crossposts.js@@ -443,7 +443,7 @@ describe('Crossposting (& related logic)', () => {],}));- await activitypub.rules.add('hashtag', preferredUsername, cid);+ await activitypub.rules.upsert('hashtag', preferredUsername, cid);});it('note assertion should automatically cross-post', async () => {