Commit c1e07b92 authored by Nicolas Delaby's avatar Nicolas Delaby

inline has been replaced by attachment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35444 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2f7f97e8
...@@ -2609,7 +2609,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase): ...@@ -2609,7 +2609,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self.fail(''.join(err_list)) self.fail(''.join(err_list))
# The name of the printout is the reference of the order # The name of the printout is the reference of the order
content_disposition = self.portal.REQUEST.RESPONSE.getHeader('content-disposition') content_disposition = self.portal.REQUEST.RESPONSE.getHeader('content-disposition')
self.assertEquals(content_disposition, 'inline;filename="OrderReference.odt"') self.assertEquals(content_disposition, 'attachent; filename="OrderReference.odt"')
def test_Order_viewAsODT_person(self): def test_Order_viewAsODT_person(self):
# test order printout with a person as destination # test order printout with a person as destination
......
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