From 30bb5bddaad155eb16d5a1a8ec8d9ba1e3cd614d Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Wed, 26 Jun 2024 22:56:33 +0200 Subject: [PATCH] Fix chat --- tests/test_trade_pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_trade_pipeline.py b/tests/test_trade_pipeline.py index 5b1ab1a2..bf438a48 100644 --- a/tests/test_trade_pipeline.py +++ b/tests/test_trade_pipeline.py @@ -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