From: lain Date: Thu, 30 Apr 2020 15:52:29 +0000 (+0200) Subject: StreamerTest: Separate deletion test. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=143353432a562c49f4432e74a549321c5b43650d;p=akkoma StreamerTest: Separate deletion test. --- diff --git a/test/web/streamer/streamer_test.exs b/test/web/streamer/streamer_test.exs index 8b8d8af6c..3c0f240f5 100644 --- a/test/web/streamer/streamer_test.exs +++ b/test/web/streamer/streamer_test.exs @@ -210,6 +210,12 @@ defmodule Pleroma.Web.StreamerTest do Worker.push_to_socket(topics, "public", activity) Task.await(task) + end + + test "works for deletions" do + user = insert(:user) + other_user = insert(:user) + {:ok, activity} = CommonAPI.post(other_user, %{"status" => "Test"}) task = Task.async(fn ->