aboutsummaryrefslogtreecommitdiff
path: root/test/tasks
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-25 17:58:15 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-25 18:08:01 +0300
commit1c05ff7c06e281fe2abd05ff4969e30ec7268bb1 (patch)
treeb7acaaa4b2689cf3c3b956e0a7efd0342bfcc8bc /test/tasks
parent42f76306e7fe69fc51be00285a4fef8569f54989 (diff)
downloadpleroma-relay-list-change-for-stable.tar.gz
relay list shows hosts without accepted followrelay-list-change-for-stable
Diffstat (limited to 'test/tasks')
-rw-r--r--test/tasks/relay_test.exs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tasks/relay_test.exs b/test/tasks/relay_test.exs
index 7bde56606..9c1ee8b81 100644
--- a/test/tasks/relay_test.exs
+++ b/test/tasks/relay_test.exs
@@ -38,6 +38,9 @@ defmodule Mix.Tasks.Pleroma.RelayTest do
assert activity.data["type"] == "Follow"
assert activity.data["actor"] == local_user.ap_id
assert activity.data["object"] == target_user.ap_id
+
+ :ok = Mix.Tasks.Pleroma.Relay.run(["list"])
+ assert_receive {:mix_shell, :info, ["mastodon.example.org (no Accept received)"]}
end
end