mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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({
|
const { id } = helpers.mocks.note({
|
||||||
cc: [cid],
|
cc: [cid],
|
||||||
});
|
});
|
||||||
await activitypub.notes.assert(0, id);
|
await activitypub.notes.assert(0, id, { cid });
|
||||||
|
|
||||||
const total = await db.sortedSetCard('usersRemote:lastCrawled');
|
const total = await db.sortedSetCard('usersRemote:lastCrawled');
|
||||||
const result = await activitypub.actors.prune();
|
const result = await activitypub.actors.prune();
|
||||||
|
|||||||
Reference in New Issue
Block a user