Fix resource metadata test with JMZ

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-10-27 16:09:27 +01:00
parent 4206ff50f6
commit 3e700a03df
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -405,7 +405,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
assert is_nil(res["errors"]) assert is_nil(res["errors"])
assert res["data"]["createResource"]["metadata"]["faviconUrl"] == assert res["data"]["createResource"]["metadata"]["faviconUrl"] ==
"https://joinmobilizon.org/icons/favicon.png" "https://joinmobilizon.org/img/icons/favicon.png"
assert res["data"]["createResource"]["metadata"]["imageRemoteUrl"] == assert res["data"]["createResource"]["metadata"]["imageRemoteUrl"] ==
"https://joinmobilizon.org/img/opengraph/home.jpg" "https://joinmobilizon.org/img/opengraph/home.jpg"
@ -461,7 +461,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
assert is_nil(res["errors"]) assert is_nil(res["errors"])
assert res["data"]["createResource"]["metadata"]["faviconUrl"] == assert res["data"]["createResource"]["metadata"]["faviconUrl"] ==
"https://joinmobilizon.org/icons/favicon.png" "https://joinmobilizon.org/img/icons/favicon.png"
assert res["data"]["createResource"]["metadata"]["imageRemoteUrl"] == assert res["data"]["createResource"]["metadata"]["imageRemoteUrl"] ==
"https://joinmobilizon.org/img/opengraph/home.jpg" "https://joinmobilizon.org/img/opengraph/home.jpg"