fix: Add missing 1 required positional argument: 'bill_date'

This commit is contained in:
developsessions 2023-02-03 14:50:44 +01:00
parent c80aaad437
commit be1f941996

View File

@ -687,7 +687,7 @@ class TestPurchaseOrder(FrappeTestCase):
raise Exception
def test_default_payment_terms(self):
due_date = get_due_date_from_template("_Test Payment Term Template 1", "2023-02-03")
due_date = get_due_date_from_template("_Test Payment Term Template 1", "2023-02-03", None)
self.assertEqual(due_date, "2023-03-31")
def test_terms_are_not_copied_if_automatically_fetch_payment_terms_is_unchecked(self):