Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
4a83bb61db
commit
cd72059536
@ -185,7 +185,7 @@ defmodule MobilizonWeb.Resolvers.EventResolverTest do
|
||||
|
||||
query = """
|
||||
{
|
||||
person(preferredUsername: "#{actor.preferred_username}") {
|
||||
person(id: "#{actor.id}") {
|
||||
id,
|
||||
participations(eventId: #{event_id}) {
|
||||
id,
|
||||
@ -832,7 +832,7 @@ defmodule MobilizonWeb.Resolvers.EventResolverTest do
|
||||
|
||||
query = """
|
||||
{
|
||||
person(preferredUsername: "#{actor.preferred_username}") {
|
||||
person(id: "#{actor.id}") {
|
||||
id,
|
||||
participations(eventId: #{event.id}) {
|
||||
id,
|
||||
@ -895,7 +895,7 @@ defmodule MobilizonWeb.Resolvers.EventResolverTest do
|
||||
|
||||
query = """
|
||||
{
|
||||
person(preferredUsername: "#{actor.preferred_username}") {
|
||||
person(id: "#{actor.id}") {
|
||||
id,
|
||||
participations(eventId: #{event.id}) {
|
||||
role,
|
||||
|
@ -164,7 +164,7 @@ defmodule MobilizonWeb.Resolvers.ParticipantResolverTest do
|
||||
|
||||
query = """
|
||||
{
|
||||
person(preferredUsername: "#{actor.preferred_username}") {
|
||||
person(id: "#{actor.id}") {
|
||||
participations(eventId: "#{event.id}") {
|
||||
event {
|
||||
uuid,
|
||||
@ -193,7 +193,7 @@ defmodule MobilizonWeb.Resolvers.ParticipantResolverTest do
|
||||
|
||||
query = """
|
||||
{
|
||||
person(preferredUsername: "#{actor2.preferred_username}") {
|
||||
person(id: "#{actor2.id}") {
|
||||
participations(eventId: "#{event.id}") {
|
||||
event {
|
||||
uuid,
|
||||
|
Loading…
Reference in New Issue
Block a user