mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Spelling (#4119)
This commit is contained in:
committed by
Jeff Mitchell
parent
f105461df5
commit
e43b76ef97
@@ -120,7 +120,7 @@ func TestPostgreSQL_CreateUser(t *testing.T) {
|
||||
RoleName: "test",
|
||||
}
|
||||
|
||||
// Test with no configured Creation Statememt
|
||||
// Test with no configured Creation Statement
|
||||
_, _, err = db.CreateUser(context.Background(), dbplugin.Statements{}, usernameConfig, time.Now().Add(time.Minute))
|
||||
if err == nil {
|
||||
t.Fatal("Expected error when no creation statement is provided")
|
||||
@@ -254,7 +254,7 @@ func TestPostgreSQL_RevokeUser(t *testing.T) {
|
||||
t.Fatalf("Could not connect with new credentials: %s", err)
|
||||
}
|
||||
|
||||
// Test default revoke statememts
|
||||
// Test default revoke statements
|
||||
err = db.RevokeUser(context.Background(), statements, username)
|
||||
if err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user