diff options
author | kaniini <ariadne@dereferenced.org> | 2019-10-04 17:39:28 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-10-04 17:39:28 +0000 |
commit | ca6f1644aa72e9f3b56e57b8b6dfc0830d44648a (patch) | |
tree | 3ee414167996edf5bc39851482c7972673020147 /test/notification_test.exs | |
parent | 222c238e7b807853dc02a79e00273b5f6b70eb4b (diff) | |
parent | d9e0108baacbe26a2f594d6f2badec58010ff1f9 (diff) | |
download | pleroma-ca6f1644aa72e9f3b56e57b8b6dfc0830d44648a.tar.gz |
Merge branch 'bugfix/widen-streamer-blocks-for-1.1' into 'maint/1.1'
widen streaming API blocks (for 1.1)
See merge request pleroma/pleroma!1785
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) |