diff options
author | rinpatch <rinpatch@sdf.org> | 2020-04-16 18:37:56 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-04-16 18:37:56 +0000 |
commit | 0ddee13c832df08da65ad0b1b7c11eea18afba26 (patch) | |
tree | 03d909dfcf5974838919076c6ae994515b0c1f84 /test/web/common_api/common_api_test.exs | |
parent | 252528a4b9ca3a5d92f1676c44989ad7d8777de1 (diff) | |
parent | 942d7467ca28c898f914539ae85ea3044c36ebbc (diff) | |
download | pleroma-0ddee13c832df08da65ad0b1b7c11eea18afba26.tar.gz pleroma-0ddee13c832df08da65ad0b1b7c11eea18afba26.zip |
Merge branch 'features/remove-user-source_data' into 'develop'
User: remove source_data
Closes #820
See merge request pleroma/pleroma!2339
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r-- | test/web/common_api/common_api_test.exs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index b12be973f..e130736ec 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -97,18 +97,6 @@ defmodule Pleroma.Web.CommonAPITest do assert Object.normalize(activity).data["emoji"]["firefox"] end - test "it adds emoji when updating profiles" do - user = insert(:user, %{name: ":firefox:"}) - - {:ok, activity} = CommonAPI.update(user) - user = User.get_cached_by_ap_id(user.ap_id) - [firefox] = user.source_data["tag"] - - assert firefox["name"] == ":firefox:" - - assert Pleroma.Constants.as_public() in activity.recipients - end - describe "posting" do test "it supports explicit addressing" do user = insert(:user) |