Commit 697d895a authored by Jérome Perrin's avatar Jérome Perrin

call edit on the transaction, because createAccountingTransaction does not

honor **kw


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19014 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 969bcfe7
......@@ -2986,8 +2986,8 @@ class TestAccounting(ERP5TypeTestCase):
self.assertEquals('2002-1', next_year_transaction.getDestinationReference())
def test_SearchableText(self):
transaction = self.createAccountingTransaction(
title='A new Transaction',
transaction = self.createAccountingTransaction()
transaction.edit(title='A new Transaction',
description="A description",
comment="Some comments")
searchable_text = transaction.SearchableText()
......
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