Revert "Move application of custom workflow to test_acquisition.py..."
This reverts commit 6e9b32254e
.
This commit is contained in:
parent
6e9b32254e
commit
6d5c193d8c
@ -1,4 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<object name="portal_workflow" meta_type="CMF Workflow Tool">
|
||||
<object name="comment_workflow_acquired_view" meta_type="Workflow"/>
|
||||
<bindings>
|
||||
<type type_id="Discussion Item">
|
||||
<bound-workflow workflow_id="comment_workflow_acquired_view"/>
|
||||
</type>
|
||||
</bindings>
|
||||
</object>
|
||||
|
@ -41,12 +41,6 @@ class DexterityAcquisitionTest(unittest.TestCase):
|
||||
setRoles(self.portal, TEST_USER_ID, ['Manager'])
|
||||
self.wftool = getToolByName(self.portal, 'portal_workflow')
|
||||
|
||||
# Use customized workflow for comments.
|
||||
self.wftool.setChainForPortalTypes(
|
||||
['Discussion Item'],
|
||||
(comment_workflow_acquired_view,),
|
||||
)
|
||||
|
||||
# Use one_state_workflow for Document and sample_content_type,
|
||||
# so they're always published.
|
||||
self.wftool.setChainForPortalTypes(
|
||||
|
Loading…
Reference in New Issue
Block a user