Commit eac76ae4 authored by Łukasz Nowak's avatar Łukasz Nowak

Use correct rule.

parent 177b4dd3
......@@ -152,7 +152,7 @@ class TestSlapOSSaleInvoiceBuilder(TestSlapOSSalePackingListBuilder):
applied_rule = self.portal.portal_simulation.newContent(
portal_type='Applied Rule',
causality=hosting_subscription.getRelativeUrl(),
specialise='portal_rules/slapos_subscription_item_rule'
specialise='portal_rules/slapos_delivery_root_simulation_rule'
)
person = self.portal.person_module.template_member\
.Base_createCloneDocument(batch_mode=1)
......@@ -325,7 +325,7 @@ class TestSlapOSSaleInvoiceTransactionBuilder(TestSlapOSSalePackingListBuilder):
applied_rule = self.portal.portal_simulation.newContent(
portal_type='Applied Rule',
causality=hosting_subscription.getRelativeUrl(),
specialise='portal_rules/slapos_subscription_item_rule'
specialise='portal_rules/slapos_delivery_root_simulation_rule'
)
person = self.portal.person_module.template_member\
.Base_createCloneDocument(batch_mode=1)
......@@ -826,7 +826,7 @@ class TestSlapOSSaleInvoiceTransactionTradeModelBuilder(TestSlapOSSalePackingLis
applied_rule = self.portal.portal_simulation.newContent(
portal_type='Applied Rule',
causality=hosting_subscription.getRelativeUrl(),
specialise='portal_rules/slapos_subscription_item_rule'
specialise='portal_rules/slapos_delivery_root_simulation_rule'
)
person = self.portal.person_module.template_member\
.Base_createCloneDocument(batch_mode=1)
......
157
\ No newline at end of file
158
\ No newline at end of file
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