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