forked from mirrors/akkoma
Pleroma.Web.base_url() --> Endpoint.url()
This commit is contained in:
parent
db2bf55e9b
commit
2c06eff519
1 changed files with 3 additions and 3 deletions
|
@ -356,7 +356,7 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|
||||||
|> response(200)
|
|> response(200)
|
||||||
|
|
||||||
expected =
|
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
|
assert resp =~ expected
|
||||||
end
|
end
|
||||||
|
@ -372,7 +372,7 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|
||||||
|> response(200)
|
|> response(200)
|
||||||
|
|
||||||
expected =
|
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
|
assert resp =~ expected
|
||||||
end
|
end
|
||||||
|
@ -388,7 +388,7 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|
||||||
|> response(200)
|
|> response(200)
|
||||||
|
|
||||||
expected =
|
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
|
assert resp =~ expected
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue