Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/ref/testhelper_test.go')
-rw-r--r--internal/service/ref/testhelper_test.go42
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: &timestamp.Timestamp{Seconds: 1471558878},
+ Name: []byte("Stan Hu"),
+ Email: []byte("stanhu@gmail.com"),
+ Date: &timestamp.Timestamp{Seconds: 1471558878},
+ Timezone: []byte("+0000"),
},
Committer: &gitalypb.CommitAuthor{
- Name: []byte("Stan Hu"),
- Email: []byte("stanhu@gmail.com"),
- Date: &timestamp.Timestamp{Seconds: 1471558878},
+ Name: []byte("Stan Hu"),
+ Email: []byte("stanhu@gmail.com"),
+ Date: &timestamp.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: &timestamp.Timestamp{Seconds: 1393491698},
+ Name: []byte("Dmitriy Zaporozhets"),
+ Email: []byte("dmitriy.zaporozhets@gmail.com"),
+ Date: &timestamp.Timestamp{Seconds: 1393491698},
+ Timezone: []byte("+0200"),
},
Committer: &gitalypb.CommitAuthor{
- Name: []byte("Dmitriy Zaporozhets"),
- Email: []byte("dmitriy.zaporozhets@gmail.com"),
- Date: &timestamp.Timestamp{Seconds: 1393491698},
+ Name: []byte("Dmitriy Zaporozhets"),
+ Email: []byte("dmitriy.zaporozhets@gmail.com"),
+ Date: &timestamp.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: &timestamp.Timestamp{Seconds: 1420925009},
+ Name: []byte("Sytse Sijbrandij"),
+ Email: []byte("sytse@gitlab.com"),
+ Date: &timestamp.Timestamp{Seconds: 1420925009},
+ Timezone: []byte("+0000"),
},
Committer: &gitalypb.CommitAuthor{
- Name: []byte("Sytse Sijbrandij"),
- Email: []byte("sytse@gitlab.com"),
- Date: &timestamp.Timestamp{Seconds: 1420925009},
+ Name: []byte("Sytse Sijbrandij"),
+ Email: []byte("sytse@gitlab.com"),
+ Date: &timestamp.Timestamp{Seconds: 1420925009},
+ Timezone: []byte("+0000"),
},
},
}