fix: make currency exchange truly idempotent against any pre-existing state

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Nabin Hait
2026-07-14 18:02:59 +05:30
committed by GitHub
parent e1e56b6920
commit 5133ba47b7

View File

@@ -2564,7 +2564,7 @@ class BootStrapTestData:
"for_selling": 1,
},
]
self.make_records(["from_currency", "to_currency", "date"], records)
self.make_records(["from_currency", "to_currency", "date", "for_buying", "for_selling"], records)
def make_operation(self):
records = [