Skip to content

Node.js based forum software built for the modern web

fix test

Barış Soner Uşaklıa2ba01b0d760
diff --git a/test/topics.js b/test/topics.js
index f4d91ad763..903b6b8db4 100644
--- a/test/topics.js
+++ b/test/topics.js
@@ -1274,9 +1274,9 @@ describe('Topic\'s', function () {
assert.equal(data.matchCount, 3);
assert.equal(data.pageCount, 1);
var tagData = [
- { value: 'nodebb', color: '', bgColor: '', score: 3 },
- { value: 'nodejs', color: '', bgColor: '', score: 1 },
- { value: 'nosql', color: '', bgColor: '', score: 1 },
+ { value: 'nodebb', valueEscaped: 'nodebb', color: '', bgColor: '', score: 3 },
+ { value: 'nodejs', valueEscaped: 'nodejs', color: '', bgColor: '', score: 1 },
+ { value: 'nosql', valueEscaped: 'nosql', color: '', bgColor: '', score: 1 },
];
assert.deepEqual(data.tags, tagData);