Fix resource metadata test with JMZ
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
122429e625
commit
534c40d500
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user