mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
refactor(test): include new fields in assertion
(cherry picked from commit 64b7f624a5)
This commit is contained in:
@@ -1087,6 +1087,8 @@ class TestPaymentEntry(FrappeTestCase):
|
|||||||
ref_details = get_reference_details(so.doctype, so.name, pe.paid_from_account_currency)
|
ref_details = get_reference_details(so.doctype, so.name, pe.paid_from_account_currency)
|
||||||
expected_response = {
|
expected_response = {
|
||||||
"account": get_party_account("Customer", so.customer, so.company),
|
"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,
|
"total_amount": 5000.0,
|
||||||
"outstanding_amount": 5000.0,
|
"outstanding_amount": 5000.0,
|
||||||
"exchange_rate": 1.0,
|
"exchange_rate": 1.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user