Use defaultUser.png instead of defaultUser.gif
Indeed, defaultUser.gif is in a deprecated skins folder (Products/CMFPlone/ skins/plone_deprecated/defaultUser.gif) and not defaultUser.png (Products/CMFPlone/skins/plone_images/defaultUser.png). Test is also updated.
This commit is contained in:
@@ -479,7 +479,7 @@ class TestCommentsViewlet(unittest.TestCase):
|
||||
def test_get_commenter_portrait_is_none(self):
|
||||
self.assertEqual(
|
||||
self.viewlet.get_commenter_portrait(),
|
||||
'defaultUser.gif'
|
||||
'defaultUser.png'
|
||||
)
|
||||
|
||||
def test_get_commenter_portrait_without_userimage(self):
|
||||
|
||||
Reference in New Issue
Block a user