mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: fix broken test due to adjusted note assertion relation logic
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user