diff options
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r-- | test/notification_test.exs | 11 |
1 files changed, 1 insertions, 10 deletions
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) |