aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/op_set_status_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'entities/bug/op_set_status_test.go')
-rw-r--r--entities/bug/op_set_status_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/entities/bug/op_set_status_test.go b/entities/bug/op_set_status_test.go
index 5bb30265..0f6d358a 100644
--- a/entities/bug/op_set_status_test.go
+++ b/entities/bug/op_set_status_test.go
@@ -5,11 +5,12 @@ import (
"github.com/MichaelMure/git-bug/entities/common"
"github.com/MichaelMure/git-bug/entities/identity"
+ "github.com/MichaelMure/git-bug/entity"
"github.com/MichaelMure/git-bug/entity/dag"
)
func TestSetStatusSerialize(t *testing.T) {
- dag.SerializeRoundTripTest(t, func(author identity.Interface, unixTime int64) *SetStatusOperation {
- return NewSetStatusOp(author, unixTime, common.ClosedStatus)
+ dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*SetStatusOperation, entity.Resolvers) {
+ return NewSetStatusOp(author, unixTime, common.ClosedStatus), nil
})
}