aboutsummaryrefslogtreecommitdiffstats
path: root/tests/operation_iterator_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/operation_iterator_test.go')
-rw-r--r--tests/operation_iterator_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/operation_iterator_test.go b/tests/operation_iterator_test.go
index 03747fa4..9c7c82b6 100644
--- a/tests/operation_iterator_test.go
+++ b/tests/operation_iterator_test.go
@@ -16,6 +16,7 @@ var (
createOp = operations.NewCreateOp(rene, "title", "message")
setTitleOp = operations.NewSetTitleOp("title2")
addCommentOp = operations.NewAddCommentOp(rene, "message2")
+ SetStatusOp = operations.NewSetStatusOp(bug.ClosedStatus)
mockRepo = repository.NewMockRepoForTest()
)
@@ -29,6 +30,7 @@ func TestOpIterator(t *testing.T) {
bug1.Append(createOp)
bug1.Append(setTitleOp)
+ bug1.Append(SetStatusOp)
bug1.Commit(mockRepo)
bug1.Append(setTitleOp)