fix: test total unallocated amount in payment
diff --git a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
index 5af37b6..f4b0c55 100644
--- a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
+++ b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
@@ -1347,6 +1347,8 @@
 		)
 		pe.save()
 		pe.submit()
+		self.assertEqual(pe.total_allocated_amount, 60)
+		self.assertEqual(pe.unallocated_amount, 940)
 		self.voucher_no = pe.name
 		self.expected_gle = [
 			{"account": "Debtors - _TC", "debit": 40.0, "credit": 0.0},