Commit 91945f61 authored by iv's avatar iv

ERP5Workflow: rename some forgotten default_ to variable_

parent eff39421
......@@ -37,7 +37,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>default_value_property</string> </value>
<value> <string>variable_value_property</string> </value>
</item>
<item>
<key> <string>mode</string> </key>
......@@ -55,7 +55,7 @@
</item>
<item>
<key> <string>storage_id</string> </key>
<value> <string>default_value</string> </value>
<value> <string>variable_value</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -126,7 +126,7 @@ class TestERP5Workflow(ERP5TypeTestCase):
v1 = workflow.newContent(portal_type='Variable',
title='actor')
v1.setReference('actor')
v1.default_expression = 'user/getUserName'
v1.variable_expression = 'user/getUserName'
self.getPortalObject().portal_types._getOb('Folder').edit(type_workflow_list=('wf'))
doc = self.portal.newContent(portal_type='Folder', id='test_doc')
workflow._executeTransition(doc,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