X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fnotification_test.exs;h=d68d4485fa21cb883df0b396d874b95773ea08c4;hb=cb36fe0128c2da9480e543ae5d71768bd73af239;hp=2a52dad8d87f9a344d74a8a89c5e234cee5c6b73;hpb=90c2dae9a4d5fd7e7c1f0d0f532ce95fbc4c69f9;p=akkoma diff --git a/test/notification_test.exs b/test/notification_test.exs index 2a52dad8d..d68d4485f 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -68,16 +68,7 @@ defmodule Pleroma.NotificationTest do end describe "create_notification" do - setup do - GenServer.start(Streamer, %{}, name: Streamer) - - on_exit(fn -> - if pid = Process.whereis(Streamer) do - Process.exit(pid, :kill) - end - end) - end - + @tag needs_streamer: true test "it creates a notification for user and send to the 'user' and the 'user:notification' stream" do user = insert(:user) task = Task.async(fn -> assert_receive {:text, _}, 4_000 end)