diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-04-03 13:03:32 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-04-10 06:20:02 +0200 |
commit | 9172d719ccbf84d55236007d329fc880db69fe42 (patch) | |
tree | 2c0a21c074339edc6af99d7b72219fe27dcb50d9 /test/web/common_api/common_api_test.exs | |
parent | 62656ab259cec1a8585abecf45096b283fa4c60a (diff) | |
download | pleroma-9172d719ccbf84d55236007d329fc880db69fe42.tar.gz pleroma-9172d719ccbf84d55236007d329fc880db69fe42.zip |
profile emojis in User.emoji instead of source_data
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 f46ad0272..5e78c5758 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) |