From fa32588e72a8ef5130c66f9e1f3b119ef73dfcf7 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Thu, 18 Feb 2016 18:43:11 +0530 Subject: [PATCH] [fixes] minor fix in test-case --- .../accounts/doctype/payment_request/test_payment_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_request/test_payment_request.py b/erpnext/accounts/doctype/payment_request/test_payment_request.py index 49c604a8c2..ad387cb18a 100644 --- a/erpnext/accounts/doctype/payment_request/test_payment_request.py +++ b/erpnext/accounts/doctype/payment_request/test_payment_request.py @@ -39,7 +39,7 @@ class TestPaymentRequest(unittest.TestCase): frappe.get_doc(payment_gateway).insert(ignore_permissions=True) 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"): frappe.get_doc(method).insert(ignore_permissions=True)