aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-18 00:16:06 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-18 00:16:06 +0200
commitba3281dc9918fa49f10c2a166b5b631a931d2d51 (patch)
treef6e9d17fa7828634f250c7af0674d5405ba0d224 /tests
parent6f83d89274fc796e01149c84b91b8aa2066f0273 (diff)
downloadgit-bug-ba3281dc9918fa49f10c2a166b5b631a931d2d51.tar.gz
all operations now have an author and a timestamp
Diffstat (limited to 'tests')
-rw-r--r--tests/operation_iterator_test.go12
1 files changed, 6 insertions, 6 deletions
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)