aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/op_set_title_test.go
blob: 7960ec4fc341bf4a517674cd40da7834c1fc1d46 (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 TestSetTitleSerialize(t *testing.T) {
	dag.SerializeRoundTripTest(t, func(author identity.Interface, unixTime int64) *SetTitleOperation {
		return NewSetTitleOp(author, unixTime, "title", "was")
	})
}