blob: 3e0ce95077cd0d231486493d533bb5af99049616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package gittest
import (
"gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb"
)
const (
// GlID is the ID of the default user.
GlID = "user-123"
// Timezone is the Timezone of the default user.
Timezone = "Asia/Shanghai"
// TimezoneOffset is ISO 8601-like format of the default user Timezone.
TimezoneOffset = "+0800"
)
// TestUser is the default user for tests.
var TestUser = &gitalypb.User{
Name: []byte("Jane Doe"),
Email: []byte("janedoe@gitlab.com"),
GlId: GlID,
GlUsername: "janedoe",
Timezone: Timezone,
}
|