mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-04-13 16:08:07 +02:00
test: another delete after create
This commit is contained in:
@@ -197,13 +197,13 @@ describe('Categories', () => {
|
||||
content: 'The content of test topic',
|
||||
tags: ['nodebb'],
|
||||
});
|
||||
const data = await Topics.post({
|
||||
await Topics.post({
|
||||
uid: posterUid,
|
||||
cid: categoryObj.cid,
|
||||
title: 'will delete',
|
||||
content: 'The content of deleted topic',
|
||||
deleted: 1,
|
||||
});
|
||||
await Topics.delete(data.topicData.tid, adminUid);
|
||||
});
|
||||
|
||||
it('should get recent replies in category', (done) => {
|
||||
|
||||
Reference in New Issue
Block a user