Fix tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-10-06 15:23:58 +02:00
parent 4a83bb61db
commit cd72059536
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 5 additions and 5 deletions

View file

@ -185,7 +185,7 @@ defmodule MobilizonWeb.Resolvers.EventResolverTest do
query = """ query = """
{ {
person(preferredUsername: "#{actor.preferred_username}") { person(id: "#{actor.id}") {
id, id,
participations(eventId: #{event_id}) { participations(eventId: #{event_id}) {
id, id,
@ -832,7 +832,7 @@ defmodule MobilizonWeb.Resolvers.EventResolverTest do
query = """ query = """
{ {
person(preferredUsername: "#{actor.preferred_username}") { person(id: "#{actor.id}") {
id, id,
participations(eventId: #{event.id}) { participations(eventId: #{event.id}) {
id, id,
@ -895,7 +895,7 @@ defmodule MobilizonWeb.Resolvers.EventResolverTest do
query = """ query = """
{ {
person(preferredUsername: "#{actor.preferred_username}") { person(id: "#{actor.id}") {
id, id,
participations(eventId: #{event.id}) { participations(eventId: #{event.id}) {
role, role,

View file

@ -164,7 +164,7 @@ defmodule MobilizonWeb.Resolvers.ParticipantResolverTest do
query = """ query = """
{ {
person(preferredUsername: "#{actor.preferred_username}") { person(id: "#{actor.id}") {
participations(eventId: "#{event.id}") { participations(eventId: "#{event.id}") {
event { event {
uuid, uuid,
@ -193,7 +193,7 @@ defmodule MobilizonWeb.Resolvers.ParticipantResolverTest do
query = """ query = """
{ {
person(preferredUsername: "#{actor2.preferred_username}") { person(id: "#{actor2.id}") {
participations(eventId: "#{event.id}") { participations(eventId: "#{event.id}") {
event { event {
uuid, uuid,