fix migration tests. do not use transactions during unit testing.

svn path=/plone.app.discussion/trunk/; revision=32805
This commit is contained in:
Timo Stollenwerk
2010-01-03 17:36:01 +00:00
parent c0bb88f44c
commit dc2e5232f7
2 changed files with 15 additions and 6 deletions
@@ -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')