aboutsummaryrefslogblamecommitdiffstats
path: root/bug/op_set_status_test.go
blob: 385deec1041dd6bdc02f132a9af3f4ee13897698 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


           
                 
 
                                                   
                                                 


                                           


                                                                                                           
 
package bug

import (
	"testing"

	"github.com/MichaelMure/git-bug/entity/dag"
	"github.com/MichaelMure/git-bug/identity"
)

func TestSetStatusSerialize(t *testing.T) {
	dag.SerializeRoundTripTest(t, func(author identity.Interface, unixTime int64) *SetStatusOperation {
		return NewSetStatusOp(author, unixTime, ClosedStatus)
	})
}