Commit 433e63f3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

rename simulation rules.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33455 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a8a7ce88
......@@ -131,8 +131,8 @@ class TestBPMMixin(ERP5TypeTestCase):
itr = self.portal.portal_rules.newContent(
portal_type='Invoice Transaction Simulation Rule',
reference='default_invoice_transaction_rule',
id='test_invoice_transaction_rule',
title='Transaction Rule',
id='test_invoice_transaction_simulation_rule',
title='Transaction Simulation Rule',
test_method_id=
'SimulationMovement_testInvoiceTransactionSimulationRule',
version=100)
......@@ -218,7 +218,7 @@ class TestBPMMixin(ERP5TypeTestCase):
'delete from %s where processing_node=-2' % table)
# remove not needed rules
self.portal.portal_rules.manage_delObjects(
ids=['test_invoice_transaction_rule'])
ids=['test_invoice_transaction_simulation_rule'])
self.stepTic()
class TestBPMImplementation(TestBPMMixin):
......
......@@ -49,12 +49,12 @@ if True:
'asset/receivable/refundable_vat')
itr = self.portal.portal_rules.newContent(
portal_type='Invoice Transaction Rule',
portal_type='Invoice Transaction Simulation Rule',
reference='default_invoice_transaction_rule',
id='test_invoice_transaction_rule',
title='Transaction Rule',
id='test_invoice_transaction_simulation_rule',
title='Transaction Simulation Rule',
test_method_id=
'SimulationMovement_testInvoiceTransactionRule',
'SimulationMovement_testInvoiceTransactionSimulationRule',
version=100)
# matching provider for source and destination
for category in ('resource', 'source', 'destination',
......
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