internal/test/testsuite/const.go
raw| 1 | package testsuite |
| 2 | |
| 3 | import ( |
| 4 | "crypto/sha256" |
| 5 | |
| 6 | "golang.org/x/text/language" |
| 7 | ) |
| 8 | |
| 9 | const ( |
| 10 | Password = "password" |
| 11 | Secret = "0123456789101112" |
| 12 | SubjectClaim = "sub" |
| 13 | TestDomain = "example.com" |
| 14 | ManagementCommandHold = "hold release" |
| 15 | ManagementCommandVersion = "version" |
| 16 | ) |
| 17 | |
| 18 | //nolint:gochecknoglobals |
| 19 | var ( |
| 20 | HashSecret = sha256.Sum256([]byte(Secret)) |
| 21 | SupportedUILocales = []language.Tag{language.English} |
| 22 | ) |