Skip to content

Node.js based forum software built for the modern web

fix: remove test for 1b12 announce on topic move (as this no longer occurs)

Julian Lam9221d34f01e8
diff --git a/test/activitypub/feps.js b/test/activitypub/feps.js
index 705df788e1..76b7d35cf6 100644
--- a/test/activitypub/feps.js
+++ b/test/activitypub/feps.js
@@ -221,30 +221,6 @@ describe('FEPs', () => {
});
describe('extended actions not explicitly specified in 1b12', () => {
- it('should be called when a topic is moved from uncategorized to another category', async () => {
- const { topicData, postData } = await topics.post({
- uid,
- cid: -1,
- title: utils.generateUUID(),
- content: utils.generateUUID(),
- });
-
- assert(topicData);
-
- await api.topics.move({ uid: adminUid }, {
- tid: topicData.tid,
- cid,
- });
-
- assert.strictEqual(activitypub._sent.size, 2);
-
- const key = Array.from(activitypub._sent.keys())[0];
- const activity = activitypub._sent.get(key);
-
- assert(activity && activity.object && typeof activity.object === 'object');
- assert.strictEqual(activity.object.id, `${nconf.get('url')}/post/${postData.pid}`);
- });
-
it('should be called for a newly forked topic', async () => {
const { topicData } = await topics.post({
uid,