Node.js based forum software built for the modern web
test: set thumbs during topic.post
Barış Soner Uşaklıac8bad8bc953
diff --git a/test/topics/thumbs.js b/test/topics/thumbs.jsindex 85517588a0..657a2e7e60 100644--- a/test/topics/thumbs.js+++ b/test/topics/thumbs.js@@ -64,15 +64,11 @@ describe('Topic thumbs', () => {cid: categoryObj.cid,title: 'Test Topic Title',content: 'The content of test topic',+ thumbs: [relativeThumbPaths[0]],});// Touch a couple files and associate it to a topiccreateFiles();-- await topics.setTopicFields(topicObj.topicData.tid, {- numThumbs: 1,- thumbs: JSON.stringify([relativeThumbPaths[0]]),- });});it('should return bool for whether a thumb exists', async () => {