Skip to content

Commit

Permalink
fix(test): expect account currency when party account is specified.
Browse files Browse the repository at this point in the history
(cherry picked from commit a09241e)
  • Loading branch information
dj12djdjs authored and mergify[bot] committed Dec 20, 2023
1 parent d9e0d55 commit 30cb218
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def test_party_account_filter(self):
filters.update({"party_account": self.debtors_usd})
report = execute(filters)[1]
self.assertEqual(len(report), 1)
expected_data = [8000.0, 8000.0, self.debtors_usd, si2.currency]
expected_data = [100.0, 100.0, self.debtors_usd, si2.currency]
row = report[0]
self.assertEqual(
expected_data, [row.invoiced, row.outstanding, row.party_account, row.account_currency]
Expand Down

0 comments on commit 30cb218

Please sign in to comment.