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

erp5_workflow_test_data: revert the addition of suffix in live test...

erp5_workflow_test_data: revert the addition of suffix in live test isTransitionPossible due to the deployment of a new universal reference getter.
parent 6984cf3a
......@@ -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, 'transition_invalidate'), 1)
self.assertEqual(workflow_tool.isTransitionPossible(new_object, '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