From ac8bad8bc95394e27445b696515e3d115373bca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 10 Apr 2026 16:43:14 -0400 Subject: [PATCH] test: set thumbs during topic.post --- test/topics/thumbs.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/topics/thumbs.js b/test/topics/thumbs.js index 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 topic createFiles(); - - await topics.setTopicFields(topicObj.topicData.tid, { - numThumbs: 1, - thumbs: JSON.stringify([relativeThumbPaths[0]]), - }); }); it('should return bool for whether a thumb exists', async () => {