summaryrefslogtreecommitdiff
path: root/test/web/common_api/common_api_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-07 14:52:56 +0200
committerlain <lain@soykaf.club>2020-06-07 14:52:56 +0200
commit2cdaac433035d8df3890eae098b55380b9e1c9fc (patch)
tree9614c853bf4798d88a5288cc5af7aef6eff947bc /test/web/common_api/common_api_test.exs
parent1a11f0e453527070a8ab5511318045470abc95e2 (diff)
downloadpleroma-2cdaac433035d8df3890eae098b55380b9e1c9fc.tar.gz
pleroma-2cdaac433035d8df3890eae098b55380b9e1c9fc.zip
SideEffects: Move streaming of chats to after the transaction.
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r--test/web/common_api/common_api_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs
index 63b59820e..6bd26050e 100644
--- a/test/web/common_api/common_api_test.exs
+++ b/test/web/common_api/common_api_test.exs
@@ -72,6 +72,7 @@ defmodule Pleroma.Web.CommonAPITest do
assert called(Pleroma.Web.Push.send(notification))
assert called(Pleroma.Web.Streamer.stream(["user", "user:notification"], notification))
+ assert called(Pleroma.Web.Streamer.stream(["user", "user:pleroma_chat"], :_))
assert activity
end