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
parent e4467ec4ad
commit 91f2b2bd6d
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

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