mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
chore: replace assertEquals with alias assertEqual (#25613)
* chore: replace assertEquals with alias assertEqual assertEquals has been deprecated. ref: https://docs.python.org/3/library/unittest.html#deprecated-aliases * chore: sider fixes
This commit is contained in:
@@ -39,7 +39,7 @@ class TestDonation(unittest.TestCase):
|
||||
donation.on_payment_authorized()
|
||||
donation.reload()
|
||||
|
||||
self.assertEquals(donation.paid, 1)
|
||||
self.assertEqual(donation.paid, 1)
|
||||
self.assertTrue(frappe.db.exists('Payment Entry', {'reference_no': donation.name}))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user