Format GraphQL block in test

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-03-23 15:22:56 +01:00 committed by tykayn
parent 9c53888c30
commit ef4be72b7f

View File

@ -52,9 +52,9 @@ defmodule Mobilizon.GraphQL.Resolvers.DiscussionTest do
describe "create a discussion" do
@create_discussion_mutation """
mutation createDiscussion($title: String!, $actorId: ID!, $text: String!) {
createDiscussion(title: $title, text: $text, actorId: $actorId) {
...DiscussionFields
}
createDiscussion(title: $title, text: $text, actorId: $actorId) {
...DiscussionFields
}
}
#{@discussion_fields_fragment}
"""