diff --git a/product/ERP5/tests/testBPMCore.py b/product/ERP5/tests/testBPMCore.py index 73553b83471442e500ae0a22631bf672ec220d90..61d6b60466a465eb6bcb730cd79e83eb14ed5525 100644 --- a/product/ERP5/tests/testBPMCore.py +++ b/product/ERP5/tests/testBPMCore.py @@ -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): diff --git a/product/ERP5/tests/testERP5SimulationBPMCore.py b/product/ERP5/tests/testERP5SimulationBPMCore.py index 7dfce3f95f1a39e8e4a387d58680e84561c992d7..135bf8d0b323316d644685324d9f4387d649c0b3 100644 --- a/product/ERP5/tests/testERP5SimulationBPMCore.py +++ b/product/ERP5/tests/testERP5SimulationBPMCore.py @@ -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',