From c5a0ebc0019f77937a05f73837ac670d70493280 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 23 Feb 2010 01:15:22 +0000
Subject: [PATCH] legacy Payment Rule is not supposed to work. so assert with
 new Payment Simulation Rule only here.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32982 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testInvoice.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testInvoice.py b/product/ERP5/tests/testInvoice.py
index d3cf064eed..e1cbafd2c8 100644
--- a/product/ERP5/tests/testInvoice.py
+++ b/product/ERP5/tests/testInvoice.py
@@ -1228,7 +1228,7 @@ class TestInvoiceMixin(TestPackingListMixin,
         'Invoice Rule': {
           'movement_type_list': invoice.getPortalInvoiceMovementTypeList() \
               + invoice.getPortalAccountingMovementTypeList(),
-          'next_rule_list': ['Invoice Transaction Rule', 'Payment Rule',
+          'next_rule_list': ['Invoice Transaction Rule', 'Payment Simulation Rule',
             'Trade Model Rule'],
           },
         'Invoice Transaction Rule': {
-- 
2.30.9