diff options
Diffstat (limited to 'bug/op_add_comment_test.go')
-rw-r--r-- | bug/op_add_comment_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bug/op_add_comment_test.go b/bug/op_add_comment_test.go index a1789aa0..55bafe36 100644 --- a/bug/op_add_comment_test.go +++ b/bug/op_add_comment_test.go @@ -2,6 +2,7 @@ package bug import ( "encoding/json" + "fmt" "testing" "time" @@ -21,8 +22,9 @@ func TestAddCommentSerialize(t *testing.T) { err = json.Unmarshal(data, &after) assert.NoError(t, err) - // enforce creating the ID - before.ID() + // enforce creating the IDs + before.Id() + rene.Id() assert.Equal(t, before, &after) } |