refactor(test): include new fields in assertion

This commit is contained in:
ruthra kumar
2024-04-05 14:59:17 +05:30
parent 141f462368
commit 64b7f624a5

View File

@@ -1077,6 +1077,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,