Skip to content

Node.js based forum software built for the modern web

test: fix broken test due to adjusted note assertion relation logic

Julian Lam9dc91f11a4ab
diff --git a/test/activitypub/actors.js b/test/activitypub/actors.js
index 687bc92a44..37fc74280d 100644
--- a/test/activitypub/actors.js
+++ b/test/activitypub/actors.js
@@ -895,7 +895,7 @@ describe('Pruning', () => {
const { id } = helpers.mocks.note({
cc: [cid],
});
- await activitypub.notes.assert(0, id);
+ await activitypub.notes.assert(0, id, { cid });
const total = await db.sortedSetCard('usersRemote:lastCrawled');
const result = await activitypub.actors.prune();