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 = """
|
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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user