Merge branch 'fix-jmz-metadata-test' into 'master'

Fix resource metadata test with JMZ

See merge request framasoft/mobilizon!662
This commit is contained in:
Thomas Citharel 2020-10-27 16:32:01 +01:00
commit d9349cfe9e

View File

@ -405,7 +405,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
assert is_nil(res["errors"])
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"] ==
"https://joinmobilizon.org/img/opengraph/home.jpg"
@ -461,7 +461,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
assert is_nil(res["errors"])
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"] ==
"https://joinmobilizon.org/img/opengraph/home.jpg"