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 () => {
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);