projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c6672
)
StreamerTest: Separate deletion test.
author
lain
<lain@soykaf.club>
Thu, 30 Apr 2020 15:52:29 +0000
(17:52 +0200)
committer
lain
<lain@soykaf.club>
Thu, 30 Apr 2020 15:52:29 +0000
(17:52 +0200)
test/web/streamer/streamer_test.exs
patch
|
blob
|
history
diff --git
a/test/web/streamer/streamer_test.exs
b/test/web/streamer/streamer_test.exs
index 8b8d8af6c51521dac9046715814c22d24fcc6731..3c0f240f54168daaa4e91e8567f0bdb00be04a13 100644
(file)
--- 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 ->