Fix gofmt (#6764)
This commit is contained in:
parent
0461cda6df
commit
8a0d423ed8
|
@ -1163,8 +1163,8 @@ func TestBackend_email_singleCert(t *testing.T) {
|
|||
Subject: pkix.Name{
|
||||
CommonName: "example.com",
|
||||
},
|
||||
EmailAddresses: []string{"valid@example.com"},
|
||||
IPAddresses: []net.IP{net.ParseIP("127.0.0.1")},
|
||||
EmailAddresses: []string{"valid@example.com"},
|
||||
IPAddresses: []net.IP{net.ParseIP("127.0.0.1")},
|
||||
ExtKeyUsage: []x509.ExtKeyUsage{
|
||||
x509.ExtKeyUsageServerAuth,
|
||||
x509.ExtKeyUsageClientAuth,
|
||||
|
|
|
@ -119,8 +119,8 @@ func testCertWithNameEndToEnd(t *testing.T, ahWrapping bool) {
|
|||
}
|
||||
|
||||
ahConfig := &auth.AuthHandlerConfig{
|
||||
Logger: logger.Named("auth.handler"),
|
||||
Client: client,
|
||||
Logger: logger.Named("auth.handler"),
|
||||
Client: client,
|
||||
EnableReauthOnNewCredentials: true,
|
||||
}
|
||||
if ahWrapping {
|
||||
|
|
|
@ -116,8 +116,8 @@ func testCertWithNoNAmeEndToEnd(t *testing.T, ahWrapping bool) {
|
|||
}
|
||||
|
||||
ahConfig := &auth.AuthHandlerConfig{
|
||||
Logger: logger.Named("auth.handler"),
|
||||
Client: client,
|
||||
Logger: logger.Named("auth.handler"),
|
||||
Client: client,
|
||||
EnableReauthOnNewCredentials: true,
|
||||
}
|
||||
if ahWrapping {
|
||||
|
|
|
@ -31,7 +31,7 @@ func TestMSSQLBackend(t *testing.T) {
|
|||
if schema == "" {
|
||||
schema = "test"
|
||||
}
|
||||
|
||||
|
||||
username := os.Getenv("MSSQL_USERNAME")
|
||||
password := os.Getenv("MSSQL_PASSWORD")
|
||||
|
||||
|
@ -83,7 +83,7 @@ func TestMSSQLBackend_schema(t *testing.T) {
|
|||
if schema == "" {
|
||||
schema = "test"
|
||||
}
|
||||
|
||||
|
||||
username := os.Getenv("MSSQL_USERNAME")
|
||||
password := os.Getenv("MSSQL_PASSWORD")
|
||||
|
||||
|
@ -93,7 +93,7 @@ func TestMSSQLBackend_schema(t *testing.T) {
|
|||
b, err := NewMSSQLBackend(map[string]string{
|
||||
"server": server,
|
||||
"database": database,
|
||||
"schema": schema,
|
||||
"schema": schema,
|
||||
"table": table,
|
||||
"username": username,
|
||||
"password": password,
|
||||
|
|
Loading…
Reference in New Issue