mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
changes expected payment_account in test case according to the fact that exchange rate should return latest saved rate
This commit is contained in:
@@ -87,8 +87,8 @@ class TestPaymentRequest(unittest.TestCase):
|
|||||||
|
|
||||||
expected_gle = dict((d[0], d) for d in [
|
expected_gle = dict((d[0], d) for d in [
|
||||||
["_Test Receivable USD - _TC", 0, 5000, si_usd.name],
|
["_Test Receivable USD - _TC", 0, 5000, si_usd.name],
|
||||||
[pr.payment_account, 6000.0, 0, None],
|
[pr.payment_account, 6290.0, 0, None],
|
||||||
["_Test Exchange Gain/Loss - _TC", 0, 1000, None]
|
["_Test Exchange Gain/Loss - _TC", 0, 1290, None]
|
||||||
])
|
])
|
||||||
|
|
||||||
gl_entries = frappe.db.sql("""select account, debit, credit, against_voucher
|
gl_entries = frappe.db.sql("""select account, debit, credit, against_voucher
|
||||||
|
|||||||
Reference in New Issue
Block a user