Revert comment's content

This commit is contained in:
Tima Gixe 2022-08-25 12:43:55 +03:00
parent f0157442b9
commit 4031605467

View File

@ -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!')