summaryrefslogtreecommitdiffstats
path: root/modules/base/tool_test.go
diff options
context:
space:
mode:
authorharry <harryzhxu@gmail.com>2017-10-23 03:50:07 -0500
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-10-23 03:50:07 -0500
commit81d1e54a49cc61e64608ff2aee055110c7e4f811 (patch)
tree70b5efe8835127be80c3cbe30f42bccad0a7bdd8 /modules/base/tool_test.go
parente4990ba205d56f7b6fda990d6c2d19a60b35fc56 (diff)
downloadgitea-81d1e54a49cc61e64608ff2aee055110c7e4f811.tar.gz
gitea-81d1e54a49cc61e64608ff2aee055110c7e4f811.zip
Use identicon image for default gravatar. (#2767)
* Use identicon image for default gravatar. * Fixed tests.
Diffstat (limited to 'modules/base/tool_test.go')
-rw-r--r--modules/base/tool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/tool_test.go b/modules/base/tool_test.go
index f3e787dd13..44ea309f7c 100644
--- a/modules/base/tool_test.go
+++ b/modules/base/tool_test.go
@@ -135,7 +135,7 @@ func TestAvatarLink(t *testing.T) {
setting.DisableGravatar = false
assert.Equal(t,
- "353cbad9b58e69c96154ad99f92bedc7",
+ "353cbad9b58e69c96154ad99f92bedc7?d=identicon",
AvatarLink("gitea@example.com"),
)
}