From 3de8b7e3cced2dde48bf0dffa9cc03b00d7fd58c Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Fri, 28 Jun 2024 16:02:15 +0200 Subject: [PATCH] Test trigger --- tests/utils/trade.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/utils/trade.py b/tests/utils/trade.py index eaf5f023..39bcda0a 100644 --- a/tests/utils/trade.py +++ b/tests/utils/trade.py @@ -276,5 +276,4 @@ class Trade: def change_order_status(self, status): # Change order expiry to now order = Order.objects.get(id=self.order_id) - order.status = status - order.save() + order.update_status(status)