Commit fe3b3c75 authored by Sebastien Robin's avatar Sebastien Robin

use Mapped Value portal type instead of Predicate Group


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3313 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 323c4ec4
......@@ -83,7 +83,6 @@ class Test(ERP5TypeTestCase):
"""
return 0
def getPortalId(self):
return self.getPortal().getId()
......@@ -126,7 +125,7 @@ class Test(ERP5TypeTestCase):
module_type = type_tool['%s Module' % self.portal_type]
module_type.allowed_content_types += ('Predicate Group',)
module = self.getOrganisationModule()
predicate = module.newContent(id='predicate',portal_type='Predicate Group')
predicate = module.newContent(id='predicate',portal_type='Mapped Value')
predicate.setCriterion('quantity',identity=None,min=None,max=None)
predicate.immediateReindexObject()
self.predicate = predicate
......
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