forked from AkkomaGang/akkoma
formatting
This commit is contained in:
parent
6ffbfdeeb2
commit
eae65e3216
1 changed files with 3 additions and 3 deletions
|
@ -559,11 +559,11 @@ test "it sends conversation update to the 'direct' stream when a message is dele
|
||||||
|
|
||||||
task =
|
task =
|
||||||
Task.async(fn ->
|
Task.async(fn ->
|
||||||
|
|
||||||
assert_receive {:text, received_event}, @streamer_timeout
|
assert_receive {:text, received_event}, @streamer_timeout
|
||||||
assert %{"event" => "delete", "payload" => _} = Jason.decode!(received_event)
|
assert %{"event" => "delete", "payload" => _} = Jason.decode!(received_event)
|
||||||
|
|
||||||
assert_receive {:text, received_event}, @streamer_timeout
|
assert_receive {:text, received_event}, @streamer_timeout
|
||||||
|
|
||||||
assert %{"event" => "conversation", "payload" => received_payload} =
|
assert %{"event" => "conversation", "payload" => received_payload} =
|
||||||
Jason.decode!(received_event)
|
Jason.decode!(received_event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue