This commit is contained in:
Jim Kalafut 2019-05-20 15:15:05 -07:00 committed by GitHub
parent 0461cda6df
commit 8a0d423ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -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,

View File

@ -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 {

View File

@ -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 {

View File

@ -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,