Merge branch 'bug/fix-tests' into 'master'
Fix tests See merge request framasoft/mobilizon!221
This commit is contained in:
commit
abb461efd5
|
@ -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 a new issue