This commit is contained in:
Josh Soref
2018-03-20 14:54:10 -04:00
committed by Jeff Mitchell
parent f105461df5
commit e43b76ef97
157 changed files with 246 additions and 246 deletions

View File

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