diff --git a/test/template-helpers.js b/test/template-helpers.js index 00ae777f82..8f73d71712 100644 --- a/test/template-helpers.js +++ b/test/template-helpers.js @@ -169,9 +169,9 @@ describe('helpers', () => { }); it('should render thumb as topic image', (done) => { - const topicObj = { thumb: '/uploads/1.png', user: { username: 'baris' } }; + const topicObj = { thumb: '/uploads/1.png', user: { username: 'baris', displayname: 'Baris Soner Usakli' } }; const html = helpers.renderTopicImage(topicObj); - assert.equal(html, ``); + assert.equal(html, ``); done(); });