Add Pleroma.Constants.as_local_public/0
This commit is contained in:
parent
a598d5baab
commit
2a475622ee
7 changed files with 8 additions and 6 deletions
|
|
@ -1752,7 +1752,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
|
|||
"local_only" => "true"
|
||||
})
|
||||
|
||||
local = Pleroma.Web.base_url() <> "/#Public"
|
||||
local = Pleroma.Constants.as_local_public()
|
||||
|
||||
assert %{"content" => "cofe", "id" => id, "pleroma" => %{"local_only" => true}} =
|
||||
json_response(conn_one, 200)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue