Commit cd01fb37 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Image_view/image_view was renamed to Image_view/my_thumbnail.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43846 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0fafbc4
......@@ -2511,7 +2511,7 @@ class TestDocumentWithSecurity(TestDocumentMixin):
image_module = self.portal.getDefaultModule(image_portal_type)
image = image_module.newContent(portal_type=image_portal_type)
self.assertEqual('thumbnail',
image.Image_view._getOb("image_view", None).get_value('image_display'))
image.Image_view._getOb('my_thumbnail', None).get_value('image_display'))
self.assertEqual((user_pref.getPreferredThumbnailImageWidth(),
user_pref.getPreferredThumbnailImageHeight()),
image.getSizeFromImageDisplay('thumbnail'))
......
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