summaryrefslogtreecommitdiff
path: root/test/web/common_api/common_api_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-04-16 18:37:56 +0000
committerrinpatch <rinpatch@sdf.org>2020-04-16 18:37:56 +0000
commit0ddee13c832df08da65ad0b1b7c11eea18afba26 (patch)
tree03d909dfcf5974838919076c6ae994515b0c1f84 /test/web/common_api/common_api_test.exs
parent252528a4b9ca3a5d92f1676c44989ad7d8777de1 (diff)
parent942d7467ca28c898f914539ae85ea3044c36ebbc (diff)
downloadpleroma-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.exs12
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)