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

import (
	"testing"

	"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, ClosedStatus)
	})
}