summaryrefslogtreecommitdiff
path: root/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-10-15 19:07:00 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-10-15 19:07:00 +0400
commit2a475622eea5550c9ab455c4e86212fc09ee9c58 (patch)
tree450dd42aba081afa7cf95c907a3d98b149089cd6 /test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
parenta598d5baab45693e4258f4a65534f474b81bfa7e (diff)
Add Pleroma.Constants.as_local_public/0
Diffstat (limited to 'test/pleroma/web/mastodon_api/controllers/status_controller_test.exs')
-rw-r--r--test/pleroma/web/mastodon_api/controllers/status_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
index b047f183d..4acf7a18e 100644
--- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
@@ -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)