mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
added test case for leave_application
This commit is contained in:
@@ -25,6 +25,8 @@ from webnotes import msgprint
|
||||
sql = webnotes.conn.sql
|
||||
get_value = webnotes.conn.get_value
|
||||
|
||||
test_records = []
|
||||
|
||||
class DocType:
|
||||
def __init__(self,d,dl):
|
||||
self.doc, self.doclist = d,dl
|
||||
|
||||
@@ -30,4 +30,7 @@ class DocType:
|
||||
webnotes.clear_cache()
|
||||
|
||||
msgprint(self.doc.name + _(""" is now the default Fiscal Year. \
|
||||
Please refresh your browser for the change to take effect."""))
|
||||
Please refresh your browser for the change to take effect."""))
|
||||
|
||||
test_records = [[{"doctype":"Fiscal Year", "year":"_Test Fiscal Year",
|
||||
"year_start_date":"2013-01-01"}]]
|
||||
Reference in New Issue
Block a user