mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
[fixes] minor fix in test-case
This commit is contained in:
@@ -39,7 +39,7 @@ class TestPaymentRequest(unittest.TestCase):
|
|||||||
frappe.get_doc(payment_gateway).insert(ignore_permissions=True)
|
frappe.get_doc(payment_gateway).insert(ignore_permissions=True)
|
||||||
|
|
||||||
for method in payment_method:
|
for method in payment_method:
|
||||||
if not frappe.db.get_value("Payment Gateway Account", {"gateway": method["gateway"],
|
if not frappe.db.get_value("Payment Gateway Account", {"payment_gateway": method["gateway"],
|
||||||
"currency": method["currency"]}, "name"):
|
"currency": method["currency"]}, "name"):
|
||||||
frappe.get_doc(method).insert(ignore_permissions=True)
|
frappe.get_doc(method).insert(ignore_permissions=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user