mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-31 19:41:12 +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
|
||||
}
|
||||
|
||||
func (n *NoopBackend) Initialize() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func TestRouter_Mount(t *testing.T) {
|
||||
r := NewRouter()
|
||||
_, barrier, _ := mockBarrier(t)
|
||||
|
Loading…
x
Reference in New Issue
Block a user