From ba3281dc9918fa49f10c2a166b5b631a931d2d51 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 18 Jul 2018 00:16:06 +0200 Subject: all operations now have an author and a timestamp --- tests/operation_iterator_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/operation_iterator_test.go b/tests/operation_iterator_test.go index fd813a0b..66e1ca1b 100644 --- a/tests/operation_iterator_test.go +++ b/tests/operation_iterator_test.go @@ -13,11 +13,11 @@ var ( Email: "rene@descartes.fr", } - createOp = operations.NewCreateOp(rene, "title", "message") - setTitleOp = operations.NewSetTitleOp("title2") - addCommentOp = operations.NewAddCommentOp(rene, "message2") - SetStatusOp = operations.NewSetStatusOp(bug.ClosedStatus) - mockRepo = repository.NewMockRepoForTest() + createOp = operations.NewCreateOp(rene, "title", "message") + setTitleOp = operations.NewSetTitleOp(rene, "title2") + addCommentOp = operations.NewAddCommentOp(rene, "message2") + setStatusOp = operations.NewSetStatusOp(rene, bug.ClosedStatus) + mockRepo = repository.NewMockRepoForTest() ) func TestOpIterator(t *testing.T) { @@ -30,7 +30,7 @@ func TestOpIterator(t *testing.T) { bug1.Append(createOp) bug1.Append(setTitleOp) - bug1.Append(SetStatusOp) + bug1.Append(setStatusOp) bug1.Commit(mockRepo) bug1.Append(setTitleOp) -- cgit