aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-22 13:17:26 -0500
committerAlex Gleason <alex@alexgleason.me>2021-05-22 13:17:26 -0500
commit4745c30b06e24e77eebf40ad04d3c82fd9091526 (patch)
tree0fbb13a182e7ad5e5e9302dcfcb4ce6e3da63b54 /test
parent4a371da57a4f81053fdfcaac68aeb32a214ae7bc (diff)
downloadpleroma-4745c30b06e24e77eebf40ad04d3c82fd9091526.tar.gz
Cycles: Pleroma.Constants.as_local_public/0 --> Pleroma.Web.ActivityPub.IDs.as_local_public/0
Prevent recompiling Endpoint when a file requires Pleroma.Constants
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/controllers/status_controller_test.exs3
1 files changed, 2 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 e76c2760d..6c9c8f94f 100644
--- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
@@ -14,6 +14,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
alias Pleroma.Tests.ObanHelpers
alias Pleroma.User
alias Pleroma.Web.ActivityPub.ActivityPub
+ alias Pleroma.Web.ActivityPub.IDs
alias Pleroma.Web.CommonAPI
import Pleroma.Factory
@@ -1875,7 +1876,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
"visibility" => "local"
})
- local = Pleroma.Constants.as_local_public()
+ local = IDs.as_local_public()
assert %{"content" => "cofe", "id" => id, "visibility" => "local"} =
json_response(conn_one, 200)