Pleroma.Web.base_url() --> Endpoint.url()
This commit is contained in:
parent
db2bf55e9b
commit
2c06eff519
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user