diff --git a/plone/app/discussion/tests/profile/workflows.xml b/plone/app/discussion/tests/profile/workflows.xml index 3bc5bbf..500f444 100644 --- a/plone/app/discussion/tests/profile/workflows.xml +++ b/plone/app/discussion/tests/profile/workflows.xml @@ -1,9 +1,4 @@ - - - - - diff --git a/plone/app/discussion/tests/test_acquisition.py b/plone/app/discussion/tests/test_acquisition.py index 9de61d4..e101c57 100644 --- a/plone/app/discussion/tests/test_acquisition.py +++ b/plone/app/discussion/tests/test_acquisition.py @@ -41,6 +41,12 @@ 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(