diff options
author | Roger Meier <r.meier@siemens.com> | 2019-11-05 00:00:57 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-11-05 00:00:57 +0300 |
commit | f5e796192cf2d6d0b3ff3b4f5825ddbb0ddde1de (patch) | |
tree | 4598b5fbb5624dbf32873e0c30f49fe9c878c87a /internal/service/ref/testhelper_test.go | |
parent | e9f9183a3228241d3b4ab352425d3d68890fcf02 (diff) |
Add tagger and timezone
Diffstat (limited to 'internal/service/ref/testhelper_test.go')
-rw-r--r-- | internal/service/ref/testhelper_test.go | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/internal/service/ref/testhelper_test.go b/internal/service/ref/testhelper_test.go index 7c68f8416..609150b26 100644 --- a/internal/service/ref/testhelper_test.go +++ b/internal/service/ref/testhelper_test.go @@ -26,14 +26,16 @@ var ( ParentIds: []string{"6907208d755b60ebeacb2e9dfea74c92c3449a1f", "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e"}, Subject: []byte("Merge branch 'add-directory-with-space' into 'master'"), Author: &gitalypb.CommitAuthor{ - Name: []byte("Stan Hu"), - Email: []byte("stanhu@gmail.com"), - Date: ×tamp.Timestamp{Seconds: 1471558878}, + Name: []byte("Stan Hu"), + Email: []byte("stanhu@gmail.com"), + Date: ×tamp.Timestamp{Seconds: 1471558878}, + Timezone: []byte("+0000"), }, Committer: &gitalypb.CommitAuthor{ - Name: []byte("Stan Hu"), - Email: []byte("stanhu@gmail.com"), - Date: ×tamp.Timestamp{Seconds: 1471558878}, + Name: []byte("Stan Hu"), + Email: []byte("stanhu@gmail.com"), + Date: ×tamp.Timestamp{Seconds: 1471558878}, + Timezone: []byte("+0000"), }, }, "refs/heads/improve/awesome": { @@ -43,14 +45,16 @@ var ( BodySize: 98, ParentIds: []string{"570e7b2abdd848b95f2f578043fc23bd6f6fd24d"}, Author: &gitalypb.CommitAuthor{ - Name: []byte("Dmitriy Zaporozhets"), - Email: []byte("dmitriy.zaporozhets@gmail.com"), - Date: ×tamp.Timestamp{Seconds: 1393491698}, + Name: []byte("Dmitriy Zaporozhets"), + Email: []byte("dmitriy.zaporozhets@gmail.com"), + Date: ×tamp.Timestamp{Seconds: 1393491698}, + Timezone: []byte("+0200"), }, Committer: &gitalypb.CommitAuthor{ - Name: []byte("Dmitriy Zaporozhets"), - Email: []byte("dmitriy.zaporozhets@gmail.com"), - Date: ×tamp.Timestamp{Seconds: 1393491698}, + Name: []byte("Dmitriy Zaporozhets"), + Email: []byte("dmitriy.zaporozhets@gmail.com"), + Date: ×tamp.Timestamp{Seconds: 1393491698}, + Timezone: []byte("+0200"), }, }, "refs/heads/'test'": { @@ -60,14 +64,16 @@ var ( BodySize: 317, ParentIds: []string{"5937ac0a7beb003549fc5fd26fc247adbce4a52e", "4cd80ccab63c82b4bad16faa5193fbd2aa06df40"}, Author: &gitalypb.CommitAuthor{ - Name: []byte("Sytse Sijbrandij"), - Email: []byte("sytse@gitlab.com"), - Date: ×tamp.Timestamp{Seconds: 1420925009}, + Name: []byte("Sytse Sijbrandij"), + Email: []byte("sytse@gitlab.com"), + Date: ×tamp.Timestamp{Seconds: 1420925009}, + Timezone: []byte("+0000"), }, Committer: &gitalypb.CommitAuthor{ - Name: []byte("Sytse Sijbrandij"), - Email: []byte("sytse@gitlab.com"), - Date: ×tamp.Timestamp{Seconds: 1420925009}, + Name: []byte("Sytse Sijbrandij"), + Email: []byte("sytse@gitlab.com"), + Date: ×tamp.Timestamp{Seconds: 1420925009}, + Timezone: []byte("+0000"), }, }, } |