Fix GitHub tests
This commit is contained in:
parent
a8f35e95a0
commit
aa68041231
|
@ -110,17 +110,17 @@ func TestBackend_basic(t *testing.T) {
|
||||||
Backend: b,
|
Backend: b,
|
||||||
Steps: []logicaltest.TestStep{
|
Steps: []logicaltest.TestStep{
|
||||||
testAccStepConfig(t, false),
|
testAccStepConfig(t, false),
|
||||||
testAccMap(t, "default", "root"),
|
testAccMap(t, "default", "fakepol"),
|
||||||
testAccMap(t, "oWnErs", "root"),
|
testAccMap(t, "oWnErs", "fakepol"),
|
||||||
testAccLogin(t, []string{"root"}),
|
testAccLogin(t, []string{"fakepol"}),
|
||||||
testAccStepConfig(t, true),
|
testAccStepConfig(t, true),
|
||||||
testAccMap(t, "default", "root"),
|
testAccMap(t, "default", "fakepol"),
|
||||||
testAccMap(t, "oWnErs", "root"),
|
testAccMap(t, "oWnErs", "fakepol"),
|
||||||
testAccLogin(t, []string{"root"}),
|
testAccLogin(t, []string{"fakepol"}),
|
||||||
testAccStepConfigWithBaseURL(t),
|
testAccStepConfigWithBaseURL(t),
|
||||||
testAccMap(t, "default", "root"),
|
testAccMap(t, "default", "fakepol"),
|
||||||
testAccMap(t, "oWnErs", "root"),
|
testAccMap(t, "oWnErs", "fakepol"),
|
||||||
testAccLogin(t, []string{"root"}),
|
testAccLogin(t, []string{"fakepol"}),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -183,6 +183,6 @@ func testAccLogin(t *testing.T, keys []string) logicaltest.TestStep {
|
||||||
},
|
},
|
||||||
Unauthenticated: true,
|
Unauthenticated: true,
|
||||||
|
|
||||||
Check: logicaltest.TestCheckAuth(keys),
|
Check: logicaltest.TestCheckAuth([]string{"default", "fakepol"}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue