X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fsupport%2Fdata_case.ex;fp=test%2Fsupport%2Fdata_case.ex;h=ba8848952e11b0d7e7e7895f05b8099194a7177f;hb=9491ba3e49450e80cd1c21358c01e4e06e3d881d;hp=1669f252034713d8a8c4fbac016d7d331c65d528;hpb=68a126317d7cdd670c8e244319da08ff85639d33;p=akkoma diff --git a/test/support/data_case.ex b/test/support/data_case.ex index 1669f2520..ba8848952 100644 --- a/test/support/data_case.ex +++ b/test/support/data_case.ex @@ -40,7 +40,11 @@ defmodule Pleroma.DataCase do end if tags[:needs_streamer] do - start_supervised(Pleroma.Web.Streamer.supervisor()) + start_supervised(%{ + id: Pleroma.Web.Streamer.registry(), + start: + {Registry, :start_link, [[keys: :duplicate, name: Pleroma.Web.Streamer.registry()]]} + }) end :ok