Commit 8c692e68 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use the new simulation rule.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33332 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e1925aaf
...@@ -129,12 +129,12 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -129,12 +129,12 @@ class TestBPMMixin(ERP5TypeTestCase):
'asset/receivable/refundable_vat') 'asset/receivable/refundable_vat')
itr = self.portal.portal_rules.newContent( itr = self.portal.portal_rules.newContent(
portal_type='Invoice Transaction Rule', portal_type='Invoice Transaction Simulation Rule',
reference='default_invoice_transaction_rule', reference='default_invoice_transaction_rule',
id='test_invoice_transaction_rule', id='test_invoice_transaction_rule',
title='Transaction Rule', title='Transaction Rule',
test_method_id= test_method_id=
'SimulationMovement_testInvoiceTransactionRule', 'SimulationMovement_testInvoiceTransactionSimulationRule',
version=100) version=100)
predicate = itr.newContent(portal_type='Predicate',) predicate = itr.newContent(portal_type='Predicate',)
predicate.edit( predicate.edit(
......
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