refactor(test): filter on document names
diff --git a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
index 5b8a46b..8a03dd7 100644
--- a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
+++ b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
@@ -1419,6 +1419,8 @@
 		pr.party = "_Test Customer"
 		pr.receivable_payable_account = si.debit_to
 		pr.default_advance_account = advance_account
+		pr.payment_name = pe.name
+		pr.invoice_name = si.name
 		pr.get_unreconciled_entries()
 
 		self.assertEqual(len(pr.invoices), 1)