diff options
author | feld <feld@feld.me> | 2021-06-01 16:43:51 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2021-06-01 16:43:51 +0000 |
commit | ee52fc840d4d6eb1caab811a9b00ab1b95662d77 (patch) | |
tree | a4cafffc0aa601c994dfd4c3a480dfd9dd5bfa3b /test | |
parent | 75b94a2f352ea255b0785d0f3ba2c849c8355e04 (diff) | |
parent | c435de426d045118ed7be3d77f659f349d2d2245 (diff) | |
download | pleroma-ee52fc840d4d6eb1caab811a9b00ab1b95662d77.tar.gz |
Merge branch 'cycles-constants' into 'develop'
Recompilation speedup: move as_local_public/0 into ActivityPub.Utils
See merge request pleroma/pleroma!3431
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/status_controller_test.exs | 3 |
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 99ad87d05..055dd4bea 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.Utils alias Pleroma.Web.CommonAPI import Pleroma.Factory @@ -1909,7 +1910,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do "visibility" => "local" }) - local = Pleroma.Constants.as_local_public() + local = Utils.as_local_public() assert %{"content" => "cofe", "id" => id, "visibility" => "local"} = json_response(conn_one, 200) |