summaryrefslogtreecommitdiff
path: root/test/web/common_api/common_api_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-04-20 20:37:56 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-04-20 20:37:56 +0400
commit364eecc49f137ae3c7798ad240983591e27b134c (patch)
tree7ed228221db9794b0aae59fa0e548623c0aa12ae /test/web/common_api/common_api_test.exs
parentdc8fa04192cc133749e762b78ec043e0902d046d (diff)
parent28165dad3ac02a6d3ba4b0cda51992a1831515dd (diff)
downloadpleroma-364eecc49f137ae3c7798ad240983591e27b134c.tar.gz
pleroma-364eecc49f137ae3c7798ad240983591e27b134c.zip
Merge branch 'develop' into global-status-expiration
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)