test: psql fix

This commit is contained in:
Barış Soner Uşaklı
2025-06-27 16:08:51 -04:00
parent fd82919e5a
commit 85e2d7d338

View File

@@ -269,20 +269,18 @@ describe('FEPs', () => {
}); });
it('should be called when a post is moved to another topic', async () => { it('should be called when a post is moved to another topic', async () => {
const [{ topicData: topic1 }, { topicData: topic2 }] = await Promise.all([ const topic1 = await topics.post({
topics.post({ uid,
uid, cid,
cid, title: utils.generateUUID(),
title: utils.generateUUID(), content: utils.generateUUID(),
content: utils.generateUUID(), });
}), const topic2 = await topics.post({
topics.post({ uid,
uid, cid,
cid, title: utils.generateUUID(),
title: utils.generateUUID(), content: utils.generateUUID(),
content: utils.generateUUID(), });
}),
]);
assert(topic1 && topic2); assert(topic1 && topic2);