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 1, 2023
1 parent d844a2b commit 6597c74
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
from frappe.utils import today, add_days

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 = today()
repost_doc.posting_date = add_days(today(), 1)
repost_doc.save()

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

0 comments on commit 6597c74

Please sign in to comment.