SideEffects: Move streaming of chats to after the transaction.
This commit is contained in:
parent
1a11f0e453
commit
2cdaac4330
5 changed files with 52 additions and 67 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue