Update the tests with comment.content

This commit is contained in:
mattwr18 2019-09-04 18:01:47 +02:00
parent d42baa5160
commit e5198babf0
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ describe('Comment.vue', () => {
propsData.comment = {
id: '2',
contentExcerpt: 'Hello I am a comment content',
content: 'Hello I am comment content'
}
})

View File

@ -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({