Commit 369da2d3 authored by Nicolas Dumazet's avatar Nicolas Dumazet

_addPropertySheet changes portal types, one needs to force a commit to actually

regenerate accessors.

This fixes the last failure of this test.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43031 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 457fd0f6
......@@ -143,6 +143,8 @@ class TestTransformation(TestTransformationMixin, BaseTestUnitConversion):
# like movements, order lines and so on.
self._addPropertySheet('Amount', ps_id)
self._addPropertySheet(self.transformed_resource_portal_type, ps_id)
# need to force accessor regeneration after portal type changes
transaction.commit()
transformation = self.createTransformation()
transformed_resource = self.createTransformedResource(transformation)
......
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