Improve tests

This commit is contained in:
Matthias
2022-10-02 08:36:34 +02:00
parent 308fa43007
commit 9bb061073d
2 changed files with 14 additions and 12 deletions

View File

@@ -1292,7 +1292,7 @@ class Exchange:
order = self.fetch_order(order_id, pair)
except InvalidOrderException:
logger.warning(f"Could not fetch cancelled order {order_id}.")
order = {'fee': {}, 'status': 'canceled', 'amount': amount, 'info': {}}
order = {'id': order_id, 'fee': {}, 'status': 'canceled', 'amount': amount, 'info': {}}
return order