Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored May 2, 2023
1 parent 6597c74 commit 35ec125
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import unittest

import frappe
from frappe.utils import today, add_days
from frappe.utils import today, add_months

from erpnext.accounts.doctype.finance_book.test_finance_book import create_finance_book
from erpnext.accounts.doctype.journal_entry.test_journal_entry import make_journal_entry
Expand Down Expand Up @@ -192,7 +192,7 @@ def test_period_closing_with_finance_book_entries(self):

self.assertRaises(frappe.ValidationError, repost_doc.save)

repost_doc.posting_date = add_days(today(), 1)
repost_doc.posting_date = add_months(today(), 13)
repost_doc.save()

def make_period_closing_voucher(self, submit=True):
Expand Down

0 comments on commit 35ec125

Please sign in to comment.