Skip to content

Commit

Permalink
fix: failed test, convert date time to string
Browse files Browse the repository at this point in the history
(cherry picked from commit 9d0096a)
  • Loading branch information
developsessions authored and mergify[bot] committed Feb 4, 2023
1 parent ced9274 commit 7228a49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ def test_po_for_blocked_supplier_payments_past_date(self):
raise Exception

def test_default_payment_terms(self):
due_date = get_due_date_from_template("_Test Payment Term Template 1", "2023-02-03", None)
due_date = get_due_date_from_template("_Test Payment Term Template 1", "2023-02-03", None).strftime("%Y-%m-%d")
self.assertEqual(due_date, "2023-03-31")

def test_terms_are_not_copied_if_automatically_fetch_payment_terms_is_unchecked(self):
Expand Down

0 comments on commit 7228a49

Please sign in to comment.