summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-10-08 20:59:43 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-10-19 23:21:37 +0000
commit80d3912a56816e4cb136a33a7aafcb0d0fede0fa (patch)
treeb7e2137ad426c640c04947b1c582b001603df245
parentef659331b03925c41cd3e557bd39cb2d73dd6aa1 (diff)
downloadpleroma-80d3912a56816e4cb136a33a7aafcb0d0fede0fa.tar.gz
pleroma-80d3912a56816e4cb136a33a7aafcb0d0fede0fa.zip
test: activitypub: use User.invisible?/1 for testing invisibility
-rw-r--r--test/web/activity_pub/activity_pub_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index b87050a4a..8ae946969 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -182,7 +182,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
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.info.invisible
+ assert User.invisible?(user)
end
test "it fetches the appropriate tag-restricted posts" do