Run all builtins as plugins (#5536)

This commit is contained in:
Becca Petrin
2018-11-06 17:21:24 -08:00
committed by GitHub
parent f63bcdf106
commit fb89af7cfa
88 changed files with 1474 additions and 778 deletions

View File

@@ -116,7 +116,7 @@ func TestBackend_basic(t *testing.T) {
"connection_url": connURL,
}
logicaltest.Test(t, logicaltest.TestCase{
Backend: b,
LogicalBackend: b,
Steps: []logicaltest.TestStep{
testAccStepConfig(t, connData, false),
testAccStepCreateRole(t, "web", testRole, false),
@@ -140,7 +140,7 @@ func TestBackend_roleCrud(t *testing.T) {
"connection_url": connURL,
}
logicaltest.Test(t, logicaltest.TestCase{
Backend: b,
LogicalBackend: b,
Steps: []logicaltest.TestStep{
testAccStepConfig(t, connData, false),
testAccStepCreateRole(t, "web", testRole, false),
@@ -171,7 +171,7 @@ func TestBackend_BlockStatements(t *testing.T) {
}
logicaltest.Test(t, logicaltest.TestCase{
Backend: b,
LogicalBackend: b,
Steps: []logicaltest.TestStep{
testAccStepConfig(t, connData, false),
// This will also validate the query
@@ -196,7 +196,7 @@ func TestBackend_roleReadOnly(t *testing.T) {
"connection_url": connURL,
}
logicaltest.Test(t, logicaltest.TestCase{
Backend: b,
LogicalBackend: b,
Steps: []logicaltest.TestStep{
testAccStepConfig(t, connData, false),
testAccStepCreateRole(t, "web", testRole, false),
@@ -227,7 +227,7 @@ func TestBackend_roleReadOnly_revocationSQL(t *testing.T) {
"connection_url": connURL,
}
logicaltest.Test(t, logicaltest.TestCase{
Backend: b,
LogicalBackend: b,
Steps: []logicaltest.TestStep{
testAccStepConfig(t, connData, false),
testAccStepCreateRoleWithRevocationSQL(t, "web", testRole, defaultRevocationSQL, false),