diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-15 13:15:00 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-15 13:15:00 +0200 |
commit | 7bec0b1f134d213e7505fc2ac03ffea26f2193cc (patch) | |
tree | e263cccd84406843eacbc6bd184acdacb25a49d1 /tests/operation_iterator_test.go | |
parent | b478cd1bcb4756b20f7f4b15fcf81f23e1a60a02 (diff) | |
download | git-bug-7bec0b1f134d213e7505fc2ac03ffea26f2193cc.tar.gz |
bug: add a data validation process to avoid merging incorrect operations
Diffstat (limited to 'tests/operation_iterator_test.go')
-rw-r--r-- | tests/operation_iterator_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/operation_iterator_test.go b/tests/operation_iterator_test.go index f1840091..790c8a62 100644 --- a/tests/operation_iterator_test.go +++ b/tests/operation_iterator_test.go @@ -18,10 +18,10 @@ var ( addCommentOp = operations.NewAddCommentOp(rene, "message2", nil) setStatusOp = operations.NewSetStatusOp(rene, bug.ClosedStatus) labelChangeOp = operations.NewLabelChangeOperation(rene, []bug.Label{"added"}, []bug.Label{"removed"}) - mockRepo = repository.NewMockRepoForTest() ) func TestOpIterator(t *testing.T) { + mockRepo := repository.NewMockRepoForTest() bug1 := bug.NewBug() |