Fix SideEffectsTest

This commit is contained in:
Tusooa Zhu 2022-09-01 07:33:58 -04:00 committed by XxXCertifiedForkliftDriverXxX
parent 7b9cc9a9b0
commit dfd6c96808

View file

@ -733,7 +733,7 @@ test "it streams out the announce", %{announce: announce} do
{:ok, announce, _} = SideEffects.handle(announce) {:ok, announce, _} = SideEffects.handle(announce)
assert called( assert called(
Pleroma.Web.Streamer.stream(["user", "list", "public", "public:local"], announce) Pleroma.Web.Streamer.stream(["user", "list"], announce)
) )
assert called(Pleroma.Web.Push.send(:_)) assert called(Pleroma.Web.Push.send(:_))