summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRafael de Camargo <rafacamargo123@gmail.com>2019-08-26 01:59:53 -0300
committerFrédéric Guillot <fred@kanboard.net>2019-08-27 20:19:51 -0700
commit4d0762805448d285c2e6fba12a71b71c22496e13 (patch)
tree428ea2a1f2daeef952a66a6a220b935cce43f8b2 /tests
parent8b2d46ed5d4f3d3789696478f69d08a3b11323d9 (diff)
Add hash to image url to force browser to update profile when changed
Closes #4241
Diffstat (limited to 'tests')
-rw-r--r--tests/units/Formatter/UserMentionFormatterTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Formatter/UserMentionFormatterTest.php b/tests/units/Formatter/UserMentionFormatterTest.php
index 6338e80f..92f73d16 100644
--- a/tests/units/Formatter/UserMentionFormatterTest.php
+++ b/tests/units/Formatter/UserMentionFormatterTest.php
@@ -29,7 +29,7 @@ class UserMentionFormatterTest extends Base
$expected = array(
array(
'value' => 'someone',
- 'html' => '<div class="avatar avatar-20 avatar-inline"><img src="?controller=AvatarFileController&amp;action=image&amp;user_id=1&amp;size=20" alt="Someone" title="Someone"></div> someone <small>Someone</small>',
+ 'html' => '<div class="avatar avatar-20 avatar-inline"><img src="?controller=AvatarFileController&amp;action=image&amp;user_id=1&amp;hash=5acc03af0274414544b9615fb223d925&amp;size=20" alt="Someone" title="Someone"></div> someone <small>Someone</small>',
),
array(
'value' => 'somebody',