mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Update the tests with comment.content
This commit is contained in:
parent
d42baa5160
commit
e5198babf0
@ -63,6 +63,7 @@ describe('Comment.vue', () => {
|
|||||||
propsData.comment = {
|
propsData.comment = {
|
||||||
id: '2',
|
id: '2',
|
||||||
contentExcerpt: 'Hello I am a comment content',
|
contentExcerpt: 'Hello I am a comment content',
|
||||||
|
content: 'Hello I am comment content'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@ describe('CommentList.vue', () => {
|
|||||||
propsData = {
|
propsData = {
|
||||||
post: {
|
post: {
|
||||||
id: 1,
|
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({
|
store = new Vuex.Store({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user