mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: psql fix
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user