Commit 4667a965 authored by Nicolas Dumazet's avatar Nicolas Dumazet

missing type factory method id


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38687 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 020b31a9
...@@ -2480,6 +2480,7 @@ class TestPropertySheet: ...@@ -2480,6 +2480,7 @@ class TestPropertySheet:
# test "Add permission" on ERP5 Type Information # test "Add permission" on ERP5 Type Information
object_portal_type = 'Test Add Permission Document' object_portal_type = 'Test Add Permission Document'
self.portal.portal_types.newContent(id=object_portal_type, self.portal.portal_types.newContent(id=object_portal_type,
type_factory_method_id='addDocument',
portal_type='Base Type') portal_type='Base Type')
type_info = self.portal.portal_types.getTypeInfo(object_portal_type) type_info = self.portal.portal_types.getTypeInfo(object_portal_type)
......
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