diff --git a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py index d271e76a7f2..6934a635a46 100644 --- a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py @@ -1615,9 +1615,9 @@ class TestPaymentEntry(FrappeTestCase): # assert General and Payment Ledger entries post partial reconciliation self.expected_gle = [ - {"account": "Debtors - _TC", "debit": 0.0, "credit": 400.0}, {"account": advance_account, "debit": 400.0, "credit": 0.0}, {"account": advance_account, "debit": 0.0, "credit": 1000.0}, + {"account": advance_account, "debit": 0.0, "credit": 400.0}, {"account": "_Test Cash - _TC", "debit": 1000.0, "credit": 0.0}, ] self.expected_ple = [ @@ -1628,7 +1628,7 @@ class TestPaymentEntry(FrappeTestCase): "amount": -1000.0, }, { - "account": "Debtors - _TC", + "account": advance_account, "voucher_no": pe.name, "against_voucher_no": reverse_pe.name, "amount": -400.0,