mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-08-16 23:30:29 +03:00
Fix chat
This commit is contained in:
parent
5c08dd3e59
commit
30bb5bddaa
@ -1021,9 +1021,10 @@ class TradeTest(BaseAPITestCase):
|
||||
self.assertResponse(response)
|
||||
notifications_data = list(response.json())
|
||||
self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
|
||||
# Does not receive notification because user is online
|
||||
self.assertEqual(
|
||||
notifications_data[0]["title"],
|
||||
f"💬 Hey {maker_nick}, a new chat message in-app was sent to you by {taker_nick} for order ID {trade.order_id}.",
|
||||
f"✅ Hey {maker_nick}, the escrow and invoice have been submitted. The fiat exchange starts now via the platform chat.",
|
||||
)
|
||||
|
||||
# Get the two chatroom messages as maker
|
||||
|
Loading…
Reference in New Issue
Block a user