mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 17:56:16 +01:00
feat: call announceObject on topic fork, #13215
This commit is contained in:
@@ -83,6 +83,12 @@ describe('FEPs', () => {
|
||||
);
|
||||
|
||||
assert.strictEqual(activitypub._sent.size, 1);
|
||||
|
||||
const key = Array.from(activitypub._sent.keys())[0];
|
||||
const activity = activitypub._sent.get(key);
|
||||
|
||||
assert(activity);
|
||||
assert.strictEqual(activity.object, `${nconf.get('url')}/post/${reply1Pid}`);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user