diff options
author | rinpatch <rinpatch@sdf.org> | 2019-09-16 10:59:44 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-09-16 10:59:44 +0000 |
commit | 409e701ab849475c81073d80a973487d67cadaae (patch) | |
tree | 7d14925ffdc67390377efd5ece22304e71ced360 /test/notification_test.exs | |
parent | 4397a3fe4ac932a055901622b3c30a319997df6c (diff) | |
parent | 96816ceaa25c21cec7677e75dcddd7ffb42d83c3 (diff) | |
download | pleroma-409e701ab849475c81073d80a973487d67cadaae.tar.gz pleroma-409e701ab849475c81073d80a973487d67cadaae.zip |
Merge branch 'fix/develop' into 'develop'
Add "Streamer refactoring" back to `develop`
See merge request pleroma/pleroma!1675
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) |