Commit 3f29c43f authored by Łukasz Nowak's avatar Łukasz Nowak

- login as correct user


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40352 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 877f99de
......@@ -694,6 +694,7 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional):
self.assertTrue(len(large_image) > len(small_image))
def _test_document_publication_workflow(self, portal_type, transition):
ERP5TypeTestCase.login(self)
document = self.portal.web_page_module.newContent(portal_type=portal_type)
self.portal.portal_workflow.doActionFor(document, transition)
......
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