From 4cd0ff2533644b7004ac93495a8aaac274bfc267 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 24 Jun 2020 12:14:58 +0200 Subject: [PATCH] Fix resource tests by changing URL https://framagit.org/framasoft/accueil/-/issues/4 Signed-off-by: Thomas Citharel --- test/graphql/resolvers/resource_test.exs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/graphql/resolvers/resource_test.exs b/test/graphql/resolvers/resource_test.exs index db1cae687..f16c68323 100644 --- a/test/graphql/resolvers/resource_test.exs +++ b/test/graphql/resolvers/resource_test.exs @@ -154,7 +154,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do } """ - @resource_url "https://framasoft.org/fr/full" + @resource_url "https://joinmobilizon.org" @resource_title "my resource" @updated_resource_title "my updated resource" @folder_title "my folder" @@ -405,10 +405,10 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do assert is_nil(res["errors"]) assert res["data"]["createResource"]["metadata"]["faviconUrl"] == - "https://framasoft.org/icons/favicon.png" + "https://joinmobilizon.org/icons/favicon.png" assert res["data"]["createResource"]["metadata"]["imageRemoteUrl"] == - "https://framasoft.org/img/opengraph/full.jpg" + "https://joinmobilizon.org/img/opengraph/home.jpg" assert res["data"]["createResource"]["path"] == "/#{@resource_title}" assert res["data"]["createResource"]["resourceUrl"] == @resource_url @@ -461,10 +461,10 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do assert is_nil(res["errors"]) assert res["data"]["createResource"]["metadata"]["faviconUrl"] == - "https://framasoft.org/icons/favicon.png" + "https://joinmobilizon.org/icons/favicon.png" assert res["data"]["createResource"]["metadata"]["imageRemoteUrl"] == - "https://framasoft.org/img/opengraph/full.jpg" + "https://joinmobilizon.org/img/opengraph/home.jpg" assert res["data"]["createResource"]["path"] == "#{parent_path}/#{@resource_title}" assert res["data"]["createResource"]["resourceUrl"] == @resource_url