aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/op_set_status_test.go
blob: 5bb30265d584e3d013e29df54bc2dc01d40b76ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package bug

import (
	"testing"

	"github.com/MichaelMure/git-bug/entities/common"
	"github.com/MichaelMure/git-bug/entities/identity"
	"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)
	})
}