diff options
author | lain <lain@soykaf.club> | 2020-04-17 15:51:24 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-17 15:51:24 +0200 |
commit | 8c2c325598dcd85f76752a17b39ce27689a65250 (patch) | |
tree | 5283acd447e60c401631aab4b01768d3f79d142e /test/web/common_api/common_api_test.exs | |
parent | 372614cfd3119b589c9c47619445714e8ae6c07e (diff) | |
parent | 6936854878860d1f6d04db1cd14a00208c6a5728 (diff) | |
download | pleroma-8c2c325598dcd85f76752a17b39ce27689a65250.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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 abe3e6f8d..1984aac8d 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -125,18 +125,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) |