Commit 80d3912a authored by kaniini's avatar kaniini

test: activitypub: use User.invisible?/1 for testing invisibility

parent ef659331
......@@ -182,7 +182,7 @@ test "it returns a user" do
test "it returns a user that is invisible" do
user_id = ""
{:ok, user} = ActivityPub.make_user_from_ap_id(user_id)
assert User.invisible?(user)
test "it fetches the appropriate tag-restricted posts" do
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment