aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/op_set_title_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'entities/bug/op_set_title_test.go')
-rw-r--r--entities/bug/op_set_title_test.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/entities/bug/op_set_title_test.go b/entities/bug/op_set_title_test.go
new file mode 100644
index 00000000..7960ec4f
--- /dev/null
+++ b/entities/bug/op_set_title_test.go
@@ -0,0 +1,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")
+ })
+}