mirror of
https://github.com/go-task/task.git
synced 2025-12-17 04:07:44 +01:00
refactor
This commit is contained in:
@@ -221,7 +221,7 @@ func generateTestCertAndKey(t *testing.T) (certPEM, keyPEM []byte) {
|
|||||||
template := x509.Certificate{
|
template := x509.Certificate{
|
||||||
SerialNumber: big.NewInt(1),
|
SerialNumber: big.NewInt(1),
|
||||||
Subject: pkix.Name{
|
Subject: pkix.Name{
|
||||||
Organization: []string{"Test Org"},
|
Organization: []string{"Task Org"},
|
||||||
},
|
},
|
||||||
NotBefore: time.Now(),
|
NotBefore: time.Now(),
|
||||||
NotAfter: time.Now().Add(time.Hour),
|
NotAfter: time.Now().Add(time.Hour),
|
||||||
|
|||||||
Reference in New Issue
Block a user