Commit 8bc90869 authored by Łukasz Nowak's avatar Łukasz Nowak

- remove title - it is set by reference

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22328 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3d9b5d3
No related merge requests found
...@@ -521,7 +521,6 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -521,7 +521,6 @@ class TestProductionOrderMixin(TestOrderMixin):
organisation = sequence.get('organisation') organisation = sequence.get('organisation')
supply_chain = sequence.get('supply_chain') supply_chain = sequence.get('supply_chain')
order.edit( order.edit(
title = "Production Order",
start_date = self.datetime + 10, start_date = self.datetime + 10,
stop_date = self.datetime + 20, stop_date = self.datetime + 20,
destination_value=organisation, destination_value=organisation,
...@@ -539,7 +538,6 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -539,7 +538,6 @@ class TestProductionOrderMixin(TestOrderMixin):
resource = sequence.get('resource') resource = sequence.get('resource')
transformation = sequence.get('transformation') transformation = sequence.get('transformation')
order_line.edit( order_line.edit(
title="Order Line",
resource_value=resource, resource_value=resource,
specialise_value=transformation, specialise_value=transformation,
quantity=5 quantity=5
...@@ -554,7 +552,6 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -554,7 +552,6 @@ class TestProductionOrderMixin(TestOrderMixin):
order_line = order.newContent(portal_type=self.order_line_portal_type) order_line = order.newContent(portal_type=self.order_line_portal_type)
resource = sequence.get('resource') resource = sequence.get('resource')
order_line.edit( order_line.edit(
title="Order Line",
resource_value=resource, resource_value=resource,
quantity=5 quantity=5
) )
......
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