refactor(test): include new fields in assertion

(cherry picked from commit 64b7f624a5)
This commit is contained in:
ruthra kumar
2024-04-05 14:59:17 +05:30
committed by Mergify
parent 7c0d46409f
commit 67df5ae0ec

View File

@@ -1087,6 +1087,8 @@ class TestPaymentEntry(FrappeTestCase):
ref_details = get_reference_details(so.doctype, so.name, pe.paid_from_account_currency)
expected_response = {
"account": get_party_account("Customer", so.customer, so.company),
"account_type": None, # only applies for Reverse Payment Entry
"payment_type": None, # only applies for Reverse Payment Entry
"total_amount": 5000.0,
"outstanding_amount": 5000.0,
"exchange_rate": 1.0,