Commit 4bc39a90 authored by Romain Courteaud's avatar Romain Courteaud

Fix object creation in wrong container.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12866 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f05dc376
......@@ -112,7 +112,7 @@ class TestAmount(ERP5TypeTestCase):
module = portal.getDefaultModule(self.amount_parent_portal_type)
amount_parent = module.newContent(
portal_type=self.amount_parent_portal_type)
amount = module.newContent(
amount = amount_parent.newContent(
portal_type=self.amount_portal_type)
sequence.edit(
amount=amount,
......
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