test: modified tests for new accept function
This commit is contained in:
parent
ac0798b74d
commit
d659b9934d
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class TestWebForm(unittest.TestCase):
|
|||
self.assertNotEquals(frappe.db.get_value("Event",
|
||||
self.event_name, "description"), doc.get('description'))
|
||||
|
||||
accept(web_form='manage-events', data=json.dumps(doc))
|
||||
accept(web_form='manage-events', docname=self.event_name, data=json.dumps(doc))
|
||||
|
||||
self.assertEqual(frappe.db.get_value("Event",
|
||||
self.event_name, "description"), doc.get('description'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue