Commit 24984d8a authored by Nicolas Dumazet's avatar Nicolas Dumazet

do not hardcode portal type


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38678 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 97fd4a29
...@@ -195,7 +195,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -195,7 +195,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
# make sure we can use our module # make sure we can use our module
self.portal.unittest_module.view() self.portal.unittest_module.view()
self.portal.unittest_module.newContent(id='document', portal_type='UnitTest') self.portal.unittest_module.newContent(id='document', portal_type=object_portal_type)
self.portal.unittest_module.document.view() self.portal.unittest_module.document.view()
# make sure translation domains are set correctly # make sure translation domains are set correctly
......
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