Pleroma.Web.base_url() --> Endpoint.url()
This commit is contained in:
parent
db2bf55e9b
commit
2c06eff519
|
@ -356,7 +356,7 @@ test "Soapbox FE", %{conn: conn} do
|
|||
|> response(200)
|
||||
|
||||
expected =
|
||||
"<meta content=\"#{Pleroma.Web.base_url()}/notice/#{note_activity.id}\" property=\"og:url\">"
|
||||
"<meta content=\"#{Endpoint.url()}/notice/#{note_activity.id}\" property=\"og:url\">"
|
||||
|
||||
assert resp =~ expected
|
||||
end
|
||||
|
@ -372,7 +372,7 @@ test "Mastodon", %{conn: conn} do
|
|||
|> response(200)
|
||||
|
||||
expected =
|
||||
"<meta content=\"#{Pleroma.Web.base_url()}/notice/#{note_activity.id}\" property=\"og:url\">"
|
||||
"<meta content=\"#{Endpoint.url()}/notice/#{note_activity.id}\" property=\"og:url\">"
|
||||
|
||||
assert resp =~ expected
|
||||
end
|
||||
|
@ -388,7 +388,7 @@ test "Twitter", %{conn: conn} do
|
|||
|> response(200)
|
||||
|
||||
expected =
|
||||
"<meta content=\"#{Pleroma.Web.base_url()}/notice/#{note_activity.id}\" property=\"og:url\">"
|
||||
"<meta content=\"#{Endpoint.url()}/notice/#{note_activity.id}\" property=\"og:url\">"
|
||||
|
||||
assert resp =~ expected
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue