From 73e783129f03acf27d25ef513e47fd04b1115d0b Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 2 Feb 2010 14:05:28 +0000
Subject: [PATCH] make a unique title for bank account.

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

diff --git a/product/ERP5/tests/testOrder.py b/product/ERP5/tests/testOrder.py
index 9faa545920..ba4f2cca37 100644
--- a/product/ERP5/tests/testOrder.py
+++ b/product/ERP5/tests/testOrder.py
@@ -226,7 +226,8 @@ class TestOrderMixin:
     organisation = organisation_module.newContent( \
                                    portal_type=organisation_portal_type)
     bank_account = organisation.newContent(id='bank',
-                                           portal_type='Bank Account')
+                                           portal_type='Bank Account',
+                                           title='bank%s' % organisation.getId())
     if title is None:
       organisation.edit(title='organisation%s' % organisation.getId())
       sequence.edit(organisation=organisation)
-- 
2.30.9