Commit 73e78312 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

make a unique title for bank account.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32181 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 948380e8
...@@ -226,7 +226,8 @@ class TestOrderMixin: ...@@ -226,7 +226,8 @@ class TestOrderMixin:
organisation = organisation_module.newContent( \ organisation = organisation_module.newContent( \
portal_type=organisation_portal_type) portal_type=organisation_portal_type)
bank_account = organisation.newContent(id='bank', bank_account = organisation.newContent(id='bank',
portal_type='Bank Account') portal_type='Bank Account',
title='bank%s' % organisation.getId())
if title is None: if title is None:
organisation.edit(title='organisation%s' % organisation.getId()) organisation.edit(title='organisation%s' % organisation.getId())
sequence.edit(organisation=organisation) sequence.edit(organisation=organisation)
......
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