removed legacy api: "/objects/:uuid/likes"
[akkoma] / test / notification_test.exs
index 2a52dad8d87f9a344d74a8a89c5e234cee5c6b73..d68d4485fa21cb883df0b396d874b95773ea08c4 100644 (file)
@@ -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)