diff options
author | lain <lain@soykaf.club> | 2018-04-22 10:01:10 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-04-22 10:01:10 +0200 |
commit | 0574df273c06f8ce5dea10f9978c7dd5bfea558d (patch) | |
tree | c53f5d8978d225ea9f244d998c3b9d0e444e6870 /test | |
parent | 114ca9e069a0914cc1ad8bf13690818eb132b0bf (diff) | |
download | pleroma-0574df273c06f8ce5dea10f9978c7dd5bfea558d.tar.gz pleroma-0574df273c06f8ce5dea10f9978c7dd5bfea558d.zip |
Small cleanup.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/activity_pub/transmogrifier_test.exs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index 3dab59746..eb093262f 100644 --- a/test/web/activity_pub/transmogrifier_test.exs +++ b/test/web/activity_pub/transmogrifier_test.exs @@ -89,6 +89,10 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do "tag:mastodon.example.org,2018-02-12:objectId=20:objectType=Conversation" assert object["sensitive"] == true + + user = User.get_by_ap_id(object["actor"]) + + assert user.info["note_count"] == 1 end test "it works for incoming notices with hashtags" do |