summaryrefslogtreecommitdiff
path: root/test/tasks/relay_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-06-01 22:18:20 +0300
committerrinpatch <rinpatch@sdf.org>2020-06-02 13:34:12 +0300
commit165a4b2a690ff7809ebbae65cddff3221d52489a (patch)
treeda7338589deef8461d9083e0b702574bf33b72ca /test/tasks/relay_test.exs
parente96765df6b04fe5e9766271a9c62e559392758b2 (diff)
downloadpleroma-165a4b2a690ff7809ebbae65cddff3221d52489a.tar.gz
pleroma-165a4b2a690ff7809ebbae65cddff3221d52489a.zip
Do not include activities of invisible users unless explicitly requested
Closes #1833
Diffstat (limited to 'test/tasks/relay_test.exs')
-rw-r--r--test/tasks/relay_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tasks/relay_test.exs b/test/tasks/relay_test.exs
index d3d88467d..678288854 100644
--- a/test/tasks/relay_test.exs
+++ b/test/tasks/relay_test.exs
@@ -65,7 +65,8 @@ defmodule Mix.Tasks.Pleroma.RelayTest do
"type" => "Undo",
"actor_id" => follower_id,
"limit" => 1,
- "skip_preload" => true
+ "skip_preload" => true,
+ "invisible_actors" => true
})
assert undo_activity.data["type"] == "Undo"