hash user ip

This commit is contained in:
Umputun
2018-03-22 20:11:57 -05:00
parent a9aeb7e4f0
commit 9a5aa72b0d
7 changed files with 33 additions and 49 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ func TestServer_CreateAndGet(t *testing.T) {
assert.Equal(t, "<p><strong>test</strong> <em>123</em> http://radio-t.com</p>", comment.Text)
assert.Equal(t, store.User{Name: "developer one", ID: "dev",
Picture: "/api/v1/avatar/remark.image",
Profile: "https://remark42.com", Admin: true, Blocked: false, IP: "127.0.0.1"},
Profile: "https://remark42.com", Admin: true, Blocked: false, IP: "4b84b15bff6ee5796152495a230e45e3d7e947d9"},
comment.User)
t.Logf("%+v", comment)
}