Revert "Merge branch 'revert-4fabf83a' into 'develop'"
This reverts commitfe7fd33126, reversing changes made to4fabf83ad0.
This commit is contained in:
parent
4397a3fe4a
commit
96816ceaa2
26 changed files with 888 additions and 447 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue