diff options
Diffstat (limited to 'bug/op_add_comment_test.go')
-rw-r--r-- | bug/op_add_comment_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/op_add_comment_test.go b/bug/op_add_comment_test.go index 3f9d02f1..3b41d62d 100644 --- a/bug/op_add_comment_test.go +++ b/bug/op_add_comment_test.go @@ -14,8 +14,8 @@ import ( func TestAddCommentSerialize(t *testing.T) { repo := repository.NewMockRepo() - rene := identity.NewIdentity("René Descartes", "rene@descartes.fr") - err := rene.Commit(repo) + + rene, err := identity.NewIdentity(repo, "René Descartes", "rene@descartes.fr") require.NoError(t, err) unix := time.Now().Unix() |