Merge branch 'cycles-base-url' into 'develop'
Deprecate Pleroma.Web.base_url/0 See merge request pleroma/pleroma!3432
This commit is contained in:
commit
0ddf492c5d
43 changed files with 94 additions and 96 deletions
|
|
@ -519,7 +519,7 @@ defmodule Pleroma.Web.CommonAPITest do
|
|||
{:ok, activity} = CommonAPI.post(user, %{status: "hey :blank:"})
|
||||
|
||||
assert %{"blank" => url} = Object.normalize(activity).data["emoji"]
|
||||
assert url == "#{Pleroma.Web.base_url()}/emoji/blank.png"
|
||||
assert url == "#{Pleroma.Web.Endpoint.url()}/emoji/blank.png"
|
||||
end
|
||||
|
||||
test "it copies emoji from the subject of the parent post" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue