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.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bug/op_create_test.go b/bug/op_create_test.go
index 73a65778..456357c4 100644
--- a/bug/op_create_test.go
+++ b/bug/op_create_test.go
@@ -7,6 +7,7 @@ import (
"github.com/stretchr/testify/require"
+ "github.com/MichaelMure/git-bug/entity"
"github.com/MichaelMure/git-bug/identity"
"github.com/MichaelMure/git-bug/repository"
"github.com/MichaelMure/git-bug/util/timestamp"
@@ -29,7 +30,7 @@ func TestCreate(t *testing.T) {
id := create.Id()
require.NoError(t, id.Validate())
- commentId := DeriveCommentId(create.Id(), create.Id())
+ commentId := entity.CombineIds(create.Id(), create.Id())
comment := Comment{
id: commentId,