diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2019-09-17 21:20:08 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-09-17 21:20:08 +0300 |
commit | 7dd51652f96db8479fb3848c3a993b74b7246d27 (patch) | |
tree | eb8736f2a8312660aab215589dd9a0304d49f856 /test/notification_test.exs | |
parent | d75bc728e7e309174373e234079aa4825c81ab3e (diff) | |
parent | 7318095657175ff05a09af83b981110a58026cf9 (diff) | |
download | pleroma-7dd51652f96db8479fb3848c3a993b74b7246d27.tar.gz pleroma-7dd51652f96db8479fb3848c3a993b74b7246d27.zip |
Merge branch 'develop' into issue/733
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 3be9db09b..3d2f9a8fc 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -69,16 +69,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) |