diff options
author | lain <lain@soykaf.club> | 2020-06-07 14:52:56 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-07 14:52:56 +0200 |
commit | 2cdaac433035d8df3890eae098b55380b9e1c9fc (patch) | |
tree | 9614c853bf4798d88a5288cc5af7aef6eff947bc /test/web/common_api/common_api_test.exs | |
parent | 1a11f0e453527070a8ab5511318045470abc95e2 (diff) | |
download | pleroma-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.exs | 1 |
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 |