diff options
author | Alex Gleason <alex@alexgleason.me> | 2022-01-23 16:03:46 -0600 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2023-09-13 19:19:04 -0400 |
commit | 1f19dd76f66ca657ddfe79a51e59b8997a4c6321 (patch) | |
tree | a1ead79e170c4d38f45a6efa1cc7e88f8ff07579 /test | |
parent | 54a989793878c63900d2c6de7b4ffc8fbd8fe8c6 (diff) | |
download | pleroma-1f19dd76f66ca657ddfe79a51e59b8997a4c6321.tar.gz pleroma-1f19dd76f66ca657ddfe79a51e59b8997a4c6321.zip |
ActivityDraft: mix format, defensive actor ID
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/common_api_test.exs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pleroma/web/common_api_test.exs b/test/pleroma/web/common_api_test.exs index 051e770d7..960d0cf16 100644 --- a/test/pleroma/web/common_api_test.exs +++ b/test/pleroma/web/common_api_test.exs @@ -816,7 +816,9 @@ defmodule Pleroma.Web.CommonAPITest do user = insert(:user) {:ok, quoted} = CommonAPI.post(user, %{status: "Hello world"}) - {:ok, quote_post} = CommonAPI.post(user, %{status: "nice post", quote_id: quoted.id, to: []}) + + {:ok, quote_post} = + CommonAPI.post(user, %{status: "nice post", quote_id: quoted.id, to: []}) assert Object.normalize(quote_post).data["to"] == [Pleroma.Constants.as_public()] end |