mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
Test travis
This commit is contained in:
@@ -51,6 +51,8 @@ class TestSalesPaymentSummary(unittest.TestCase):
|
|||||||
pe.cancel()
|
pe.cancel()
|
||||||
|
|
||||||
mop = get_mode_of_payments(filters)
|
mop = get_mode_of_payments(filters)
|
||||||
|
print(frappe.get_all("Payment Entry", filters={"docstatus": 1}))
|
||||||
|
print(mop)
|
||||||
self.assertTrue('Credit Card' in mop.values()[0])
|
self.assertTrue('Credit Card' in mop.values()[0])
|
||||||
self.assertTrue('Cash' not in mop.values()[0])
|
self.assertTrue('Cash' not in mop.values()[0])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user