Skip to content

Node.js based forum software built for the modern web

fix: derp?

Julian Lamf8dff94a15ab
diff --git a/test/topicThumbs.js b/test/topicThumbs.js
index 32f7b32a21..e29063453e 100644
--- a/test/topicThumbs.js
+++ b/test/topicThumbs.js
@@ -75,7 +75,7 @@ describe('Topic thumbs', () => {
// Touch a couple files and associate it to a topic
createFiles();
- db.sortedSetAdd(`topic:${topicObj.topicData.tid}:thumbs`, 0, `/${relativeThumbPaths[0]}`);
+ await db.sortedSetAdd(`topic:${topicObj.topicData.tid}:thumbs`, 0, `/${relativeThumbPaths[0]}`);
});
it('should return bool for whether a thumb exists', async () => {