fix migration tests. do not use transactions during unit testing.
svn path=/plone.app.discussion/trunk/; revision=32805
This commit is contained in:
@@ -29,6 +29,7 @@ class MigrationTest(PloneTestCase):
|
||||
self.workflow.doActionFor(self.portal.doc, 'publish')
|
||||
|
||||
request = self.app.REQUEST
|
||||
request.set("test", True)
|
||||
context = getattr(self.portal, 'doc')
|
||||
self.view = View(context, request)
|
||||
self.workflow.setChainForPortalTypes(('Discussion Item',), 'comment_review_workflow')
|
||||
|
||||
Reference in New Issue
Block a user