diff options
| author | Steven Fuchs <steven.fuchs@dockyard.com> | 2019-09-16 07:44:03 +0000 |
|---|---|---|
| committer | kaniini <ariadne@dereferenced.org> | 2019-09-16 07:44:03 +0000 |
| commit | aab264db82054df470075c65ca25c42bbcc5d7a8 (patch) | |
| tree | cc803e11307818080f6b3cd0c05be133fe33ca62 /test/web/activity_pub | |
| parent | 17142a3720c55e8bb0595f1a1c2f128dfcf47d10 (diff) | |
| download | pleroma-aab264db82054df470075c65ca25c42bbcc5d7a8.tar.gz pleroma-aab264db82054df470075c65ca25c42bbcc5d7a8.zip | |
Streamer refactoring
Diffstat (limited to 'test/web/activity_pub')
| -rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index d0118fefa..4100108a5 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -38,9 +38,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do stream: fn _, _ -> nil end do ActivityPub.stream_out_participations(conversation.participations) - Enum.each(participations, fn participation -> - assert called(Pleroma.Web.Streamer.stream("participation", participation)) - end) + assert called(Pleroma.Web.Streamer.stream("participation", participations)) end end end |
