Update missed reasonCategory param in cypress test

This commit is contained in:
mattwr18 2019-10-15 00:33:54 +02:00
parent f9fe93e550
commit 807c3e1972

View File

@ -127,7 +127,7 @@ Given('somebody reported the following posts:', table => {
cy.factory()
.create('User', submitter)
.authenticateAs(submitter)
.mutate(`mutation($resourceId: ID!, $reasonCategory: String!, $reasonDescription: String!) {
.mutate(`mutation($resourceId: ID!, $reasonCategory: ReasonCategory!, $reasonDescription: String!) {
report(resourceId: $resourceId, reasonCategory: $reasonCategory, reasonDescription: $reasonDescription) {
type
}