Pleroma.Web.base_url() --> Endpoint.url()

This commit is contained in:
Alex Gleason 2021-12-25 20:11:14 -06:00
parent db2bf55e9b
commit 2c06eff519
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -356,7 +356,7 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest 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 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest 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 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest 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