Commit 3e3b355c authored by Sebastien Robin's avatar Sebastien Robin

we do not need to include the erp5_common business template


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1975 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 093e1afd
...@@ -53,7 +53,7 @@ class TestXMLMatrix(ERP5TypeTestCase): ...@@ -53,7 +53,7 @@ class TestXMLMatrix(ERP5TypeTestCase):
""" """
Return the list of business templates. Return the list of business templates.
""" """
return ('erp5_common', 'erp5_delivery') return ('erp5_trade',)
def afterSetUp(self, quiet=1, run=1): def afterSetUp(self, quiet=1, run=1):
uf = self.getPortal().acl_users uf = self.getPortal().acl_users
...@@ -61,9 +61,6 @@ class TestXMLMatrix(ERP5TypeTestCase): ...@@ -61,9 +61,6 @@ class TestXMLMatrix(ERP5TypeTestCase):
user = uf.getUserById('manager').__of__(uf) user = uf.getUserById('manager').__of__(uf)
newSecurityManager(None, user) newSecurityManager(None, user)
portal = self.getPortal() portal = self.getPortal()
portal.portal_types.constructContent(type_name='Purchase Order Module',
container=portal,
id='purchase_order')
module = portal.purchase_order module = portal.purchase_order
order = module.newContent(id='1', portal_type='Purchase Order') order = module.newContent(id='1', portal_type='Purchase Order')
......
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