From e5198babf0db263553f49987c013fab4c8144119 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Wed, 4 Sep 2019 18:01:47 +0200 Subject: [PATCH] Update the tests with comment.content --- webapp/components/Comment.spec.js | 1 + webapp/components/CommentList/CommentList.spec.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/components/Comment.spec.js b/webapp/components/Comment.spec.js index 23e72f9d6..6303989f3 100644 --- a/webapp/components/Comment.spec.js +++ b/webapp/components/Comment.spec.js @@ -63,6 +63,7 @@ describe('Comment.vue', () => { propsData.comment = { id: '2', contentExcerpt: 'Hello I am a comment content', + content: 'Hello I am comment content' } }) diff --git a/webapp/components/CommentList/CommentList.spec.js b/webapp/components/CommentList/CommentList.spec.js index 5551227a1..902770e53 100644 --- a/webapp/components/CommentList/CommentList.spec.js +++ b/webapp/components/CommentList/CommentList.spec.js @@ -27,7 +27,7 @@ describe('CommentList.vue', () => { propsData = { post: { id: 1, - comments: [{ id: 'comment134', contentExcerpt: 'this is a comment' }], + comments: [{ id: 'comment134', contentExcerpt: 'this is a comment', content: 'this is a comment' }], }, } store = new Vuex.Store({