summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-07-15 14:54:40 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-07-15 14:54:40 +0700
commitde13c9bb8fc08b12d9694f63f92935ba39a51118 (patch)
tree38361610903bd6034f6a66dcd9e747e187d328d9 /test
parent04f18a144bdbb58f0fc774ea5530029f166b6821 (diff)
downloadpleroma-de13c9bb8fc08b12d9694f63f92935ba39a51118.tar.gz
pleroma-de13c9bb8fc08b12d9694f63f92935ba39a51118.zip
List messages must be visible for mentioned users
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/visibilty_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/visibilty_test.exs b/test/web/activity_pub/visibilty_test.exs
index 2ce6928c4..b62a89e68 100644
--- a/test/web/activity_pub/visibilty_test.exs
+++ b/test/web/activity_pub/visibilty_test.exs
@@ -126,13 +126,13 @@ defmodule Pleroma.Web.ActivityPub.VisibilityTest do
assert Visibility.visible_for_user?(direct, user)
assert Visibility.visible_for_user?(list, user)
- # All visible to a mentioned user, except when it's a list activity
+ # All visible to a mentioned user
assert Visibility.visible_for_user?(public, mentioned)
assert Visibility.visible_for_user?(private, mentioned)
assert Visibility.visible_for_user?(unlisted, mentioned)
assert Visibility.visible_for_user?(direct, mentioned)
- refute(Visibility.visible_for_user?(list, mentioned))
+ assert Visibility.visible_for_user?(list, mentioned)
# DM not visible for just follower