Run 'make fmt'. (#13914)

This commit is contained in:
Victor Rodriguez 2022-02-04 16:54:06 -05:00 committed by GitHub
parent b2e3745837
commit 6f8def2873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -3,10 +3,11 @@ package ldap
import (
"context"
"fmt"
"github.com/hashicorp/vault/api"
"io"
"os"
"strings"
"github.com/hashicorp/vault/api"
)
type LDAPAuth struct {

View File

@ -34,6 +34,7 @@ func testHTTPServer(
func init() {
os.Setenv("VAULT_TOKEN", "")
}
func TestLogin(t *testing.T) {
passwordEnvVar := "LDAP_PASSWORD"
allowedPassword := "6hrtL!*bro!ywbQbvDwW"