mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-03 21:11:10 +02:00
Merge pull request #2271 from hashicorp/fix-test
add initialize method to noopbackend
This commit is contained in:
commit
678e605460
@ -62,6 +62,10 @@ func (n *NoopBackend) InvalidateKey(string) {
|
|||||||
// noop
|
// noop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (n *NoopBackend) Initialize() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
func TestRouter_Mount(t *testing.T) {
|
func TestRouter_Mount(t *testing.T) {
|
||||||
r := NewRouter()
|
r := NewRouter()
|
||||||
_, barrier, _ := mockBarrier(t)
|
_, barrier, _ := mockBarrier(t)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user