summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-09-17 21:20:08 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-09-17 21:20:08 +0300
commit7dd51652f96db8479fb3848c3a993b74b7246d27 (patch)
treeeb8736f2a8312660aab215589dd9a0304d49f856 /test/notification_test.exs
parentd75bc728e7e309174373e234079aa4825c81ab3e (diff)
parent7318095657175ff05a09af83b981110a58026cf9 (diff)
downloadpleroma-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.exs11
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)