Skip to content

Node.js based forum software built for the modern web

assign correct data

Barış Soner Uşaklı22005b9ccf83
diff --git a/test/activitypub/feps.js b/test/activitypub/feps.js
index adcf2bb2c6..705df788e1 100644
--- a/test/activitypub/feps.js
+++ b/test/activitypub/feps.js
@@ -269,13 +269,13 @@ describe('FEPs', () => {
});
it('should be called when a post is moved to another topic', async () => {
- const topic1 = await topics.post({
+ const { topicData: topic1 } = await topics.post({
uid,
cid,
title: utils.generateUUID(),
content: utils.generateUUID(),
});
- const topic2 = await topics.post({
+ const { topicData: topic2 } = await topics.post({
uid,
cid,
title: utils.generateUUID(),