aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_create_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_create_test.go')
-rw-r--r--bug/op_create_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/bug/op_create_test.go b/bug/op_create_test.go
index 92ac191d..aa1d8c10 100644
--- a/bug/op_create_test.go
+++ b/bug/op_create_test.go
@@ -23,7 +23,12 @@ func TestCreate(t *testing.T) {
hash, err := create.Hash()
assert.NoError(t, err)
- comment := Comment{Author: rene, Message: "message", UnixTime: timestamp.Timestamp(create.UnixTime)}
+ comment := Comment{
+ id: string(hash),
+ Author: rene,
+ Message: "message",
+ UnixTime: timestamp.Timestamp(create.UnixTime),
+ }
expected := Snapshot{
Title: "title",