Commit e659ab64 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

testERP5Workflow: remove test workflow history variable undo.

parent 8f0cb8d6
...@@ -134,7 +134,6 @@ class TestERP5Workflow(ERP5TypeTestCase): ...@@ -134,7 +134,6 @@ class TestERP5Workflow(ERP5TypeTestCase):
self.assertTrue(isinstance(current_state, dict)) self.assertTrue(isinstance(current_state, dict))
self.assertEqual(s1.getReference(), current_state.get('current_state')) self.assertEqual(s1.getReference(), current_state.get('current_state'))
self.assertEqual('ERP5TypeTestCase', current_state.get('actor')) self.assertEqual('ERP5TypeTestCase', current_state.get('actor'))
self.assertEqual(0, current_state.get('undo'))
history = doc.workflow_history['wf'] history = doc.workflow_history['wf']
self.assertEqual(len(history), 2)# create, t1 self.assertEqual(len(history), 2)# create, t1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment