Commit fcacd11f authored by Łukasz Nowak's avatar Łukasz Nowak

- not need to play with request


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30118 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1316db62
......@@ -524,11 +524,8 @@ class TestBug(ERP5TypeTestCase):
text_content = 'text content'
title = 'title'
request = self.portal.REQUEST
request.set('text_content', text_content)
request.set('title', title)
bug_line = bug.Bug_doBugLineSendFastInputAction(batch_mode=1)
bug_line = bug.Bug_doBugLineSendFastInputAction(batch_mode=1, title=title,
text_content=text_content)
self.assertEqual(text_content, bug_line.getTextContent())
self.assertEqual(title, bug_line.getTitle())
......
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