mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Revert comment's content
This commit is contained in:
parent
f0157442b9
commit
4031605467
@ -88,7 +88,7 @@ describe('CreateComment', () => {
|
||||
variables = {
|
||||
...variables,
|
||||
postId: 'p1',
|
||||
content: "I'm Not Authorized to comment",
|
||||
content: "I'm not authorized to comment",
|
||||
}
|
||||
const { errors } = await mutate({ mutation: createCommentMutation, variables })
|
||||
expect(errors[0]).toHaveProperty('message', 'Not Authorized!')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user