diff options
| author | kaniini <ariadne@dereferenced.org> | 2019-10-21 07:54:48 +0000 |
|---|---|---|
| committer | kaniini <ariadne@dereferenced.org> | 2019-10-21 07:54:48 +0000 |
| commit | 2ebe8c416a72b512feaba87040982da5bcf865cf (patch) | |
| tree | 46fe8f5ba2a0042ff6b94d09822107d976b0591e /test/web/activity_pub/activity_pub_test.exs | |
| parent | 62e3d76a450c1b34ba8d0c88a184ec861ed90f29 (diff) | |
| parent | 05c58eaecef3d51b567ff1529aa33f36e03f5452 (diff) | |
| download | pleroma-2ebe8c416a72b512feaba87040982da5bcf865cf.tar.gz pleroma-2ebe8c416a72b512feaba87040982da5bcf865cf.zip | |
Merge branch 'feature/activitypub-semantics' into 'develop'
activitypub semantics
See merge request pleroma/pleroma!1798
Diffstat (limited to 'test/web/activity_pub/activity_pub_test.exs')
| -rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 28a9b773c..8ae946969 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -179,6 +179,12 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do assert user.follower_address == "http://mastodon.example.org/users/admin/followers" end + test "it returns a user that is invisible" do + user_id = "http://mastodon.example.org/users/relay" + {:ok, user} = ActivityPub.make_user_from_ap_id(user_id) + assert User.invisible?(user) + end + test "it fetches the appropriate tag-restricted posts" do user = insert(:user) |
