mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Adding verify_connection to config, docs updates, misc cleanup
This commit is contained in:
@@ -57,8 +57,8 @@ func TestBackend_leaseWriteRead(t *testing.T) {
|
||||
}
|
||||
|
||||
func testAccPreCheck(t *testing.T) {
|
||||
if v := os.Getenv("MSSQL_PARAMS"); v == "" {
|
||||
t.Fatal("MSSQL_PARAMS must be set for acceptance tests")
|
||||
if v := os.Getenv("MSSQL_DSN"); v == "" {
|
||||
t.Fatal("MSSQL_DSN must be set for acceptance tests")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ func testAccStepConfig(t *testing.T) logicaltest.TestStep {
|
||||
Operation: logical.UpdateOperation,
|
||||
Path: "config/connection",
|
||||
Data: map[string]interface{}{
|
||||
"connection_params": os.Getenv("MSSQL_PARAMS"),
|
||||
"connection_string": os.Getenv("MSSQL_DSN"),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user