diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-15 19:07:00 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-15 19:07:00 +0400 |
commit | 2a475622eea5550c9ab455c4e86212fc09ee9c58 (patch) | |
tree | 450dd42aba081afa7cf95c907a3d98b149089cd6 /test | |
parent | a598d5baab45693e4258f4a65534f474b81bfa7e (diff) | |
download | pleroma-2a475622eea5550c9ab455c4e86212fc09ee9c58.tar.gz |
Add Pleroma.Constants.as_local_public/0
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/status_controller_test.exs | 2 |
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) |