Node.js based forum software built for the modern web
fix test
Barış Soner Uşaklıbe79b85526df
diff --git a/test/topics.js b/test/topics.jsindex 3aed603c95..541000dd52 100644--- a/test/topics.js+++ b/test/topics.js@@ -1693,9 +1693,11 @@ describe('Topic\'s', function () {assert.ifError(err);posts.edit({ pid: result.postData.pid, uid: uid, content: 'edited content', tags: ['tag1', 'tag2'] }, function (err, result) {assert.ifError(err);- assert.deepEqual(result.topic.tags.map(function (tag) {+ var tags = result.topic.tags.map(function (tag) {return tag.value;- }), ['tag1', 'tag2']);+ });+ assert(tags.indexOf('tag1') !== -1);+ assert(tags.indexOf('tag2') !== -1);done();});});