Skip to content

Node.js based forum software built for the modern web

test: psql fix

Barış Soner Uşaklı85e2d7d33800
diff --git a/test/activitypub/feps.js b/test/activitypub/feps.js
index 65520f0f4e..adcf2bb2c6 100644
--- a/test/activitypub/feps.js
+++ b/test/activitypub/feps.js
@@ -269,20 +269,18 @@ describe('FEPs', () => {
});
it('should be called when a post is moved to another topic', async () => {
- const [{ topicData: topic1 }, { topicData: topic2 }] = await Promise.all([
- topics.post({
- uid,
- cid,
- title: utils.generateUUID(),
- content: utils.generateUUID(),
- }),
- topics.post({
- uid,
- cid,
- title: utils.generateUUID(),
- content: utils.generateUUID(),
- }),
- ]);
+ const topic1 = await topics.post({
+ uid,
+ cid,
+ title: utils.generateUUID(),
+ content: utils.generateUUID(),
+ });
+ const topic2 = await topics.post({
+ uid,
+ cid,
+ title: utils.generateUUID(),
+ content: utils.generateUUID(),
+ });
assert(topic1 && topic2);