Node.js based forum software built for the modern web
test: set thumbs during topics.post
Barış Soner Uşaklıa66d98a5feed
diff --git a/test/topics/thumbs.js b/test/topics/thumbs.jsindex bc452a4ac3..d4364cd386 100644--- a/test/topics/thumbs.js+++ b/test/topics/thumbs.js@@ -231,10 +231,9 @@ describe('Topic thumbs', () => {cid: categoryObj.cid,title: 'Test Topic Title',content: 'The content of test topic',+ thumbs: ['/files/test.png', '/files/test2.png'],});this.tid = topicObj.topicData.tid;- await topics.thumbs.associate({ id: this.tid, path: '/files/test.png' });- await topics.thumbs.associate({ id: this.tid, path: '/files/test2.png' });createFiles();});