diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-13 22:53:53 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-13 22:53:53 +0200 |
commit | 55aef8c38773a7cce39a5e154f8221a4b817ac04 (patch) | |
tree | 6fb23c7f099a69c9abfdca7f05fee108f3ec6786 /tests/operation_iterator_test.go | |
parent | 35d64e4f9e3e0a0ffd041e430a64650bb8ea71fa (diff) | |
download | git-bug-55aef8c38773a7cce39a5e154f8221a4b817ac04.tar.gz |
implement AddComment
Diffstat (limited to 'tests/operation_iterator_test.go')
-rw-r--r-- | tests/operation_iterator_test.go | 7 |
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) { |