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

erp5_workflow_test_data: add suffix to the reference of transition in live test.

parent b6a4af68
......@@ -193,7 +193,7 @@ class TestERP5WorkflowMixin(ERP5TypeTestCase):
self.assertEqual(workflow_tool.isTransitionPossible(new_object, 'invalidate'), 0)
self.doActionFor(new_object, "validate_action")
self.assertEqual(self.getStateFor(new_object), 'validated')
self.assertEqual(workflow_tool.isTransitionPossible(new_object, 'invalidate'), 1)
self.assertEqual(workflow_tool.isTransitionPossible(new_object, 'transition_invalidate'), 1)
def test_13_testDCWorkflowMigrationScript(self):
new_object = self.getTestObject()
......
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