aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_add_comment_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_add_comment_test.go')
-rw-r--r--bug/op_add_comment_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bug/op_add_comment_test.go b/bug/op_add_comment_test.go
index a38d0228..a1789aa0 100644
--- a/bug/op_add_comment_test.go
+++ b/bug/op_add_comment_test.go
@@ -21,5 +21,8 @@ func TestAddCommentSerialize(t *testing.T) {
err = json.Unmarshal(data, &after)
assert.NoError(t, err)
+ // enforce creating the ID
+ before.ID()
+
assert.Equal(t, before, &after)
}