aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/op_label_change_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'entities/bug/op_label_change_test.go')
-rw-r--r--entities/bug/op_label_change_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/entities/bug/op_label_change_test.go b/entities/bug/op_label_change_test.go
index d184e47a..abafa222 100644
--- a/entities/bug/op_label_change_test.go
+++ b/entities/bug/op_label_change_test.go
@@ -3,6 +3,7 @@ package bug
import (
"testing"
+ "github.com/git-bug/git-bug/entities/common"
"github.com/git-bug/git-bug/entities/identity"
"github.com/git-bug/git-bug/entity"
"github.com/git-bug/git-bug/entity/dag"
@@ -10,12 +11,12 @@ import (
func TestLabelChangeSerialize(t *testing.T) {
dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*LabelChangeOperation, entity.Resolvers) {
- return NewLabelChangeOperation(author, unixTime, []Label{"added"}, []Label{"removed"}), nil
+ return NewLabelChangeOperation(author, unixTime, []common.Label{"added"}, []common.Label{"removed"}), nil
})
dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*LabelChangeOperation, entity.Resolvers) {
- return NewLabelChangeOperation(author, unixTime, []Label{"added"}, nil), nil
+ return NewLabelChangeOperation(author, unixTime, []common.Label{"added"}, nil), nil
})
dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*LabelChangeOperation, entity.Resolvers) {
- return NewLabelChangeOperation(author, unixTime, nil, []Label{"removed"}), nil
+ return NewLabelChangeOperation(author, unixTime, nil, []common.Label{"removed"}), nil
})
}