aboutsummaryrefslogtreecommitdiffstats
path: root/tests/operation_iterator_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-13 22:53:53 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-13 22:53:53 +0200
commit55aef8c38773a7cce39a5e154f8221a4b817ac04 (patch)
tree6fb23c7f099a69c9abfdca7f05fee108f3ec6786 /tests/operation_iterator_test.go
parent35d64e4f9e3e0a0ffd041e430a64650bb8ea71fa (diff)
downloadgit-bug-55aef8c38773a7cce39a5e154f8221a4b817ac04.tar.gz
implement AddComment
Diffstat (limited to 'tests/operation_iterator_test.go')
-rw-r--r--tests/operation_iterator_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/operation_iterator_test.go b/tests/operation_iterator_test.go
index b2f01513..03747fa4 100644
--- a/tests/operation_iterator_test.go
+++ b/tests/operation_iterator_test.go
@@ -13,9 +13,10 @@ var (
Email: "rene@descartes.fr",
}
- createOp = operations.NewCreateOp(rene, "title", "message")
- setTitleOp = operations.NewSetTitleOp("title2")
- mockRepo = repository.NewMockRepoForTest()
+ createOp = operations.NewCreateOp(rene, "title", "message")
+ setTitleOp = operations.NewSetTitleOp("title2")
+ addCommentOp = operations.NewAddCommentOp(rene, "message2")
+ mockRepo = repository.NewMockRepoForTest()
)
func TestOpIterator(t *testing.T) {