Merge pull request #2271 from hashicorp/fix-test

add initialize method to noopbackend
This commit is contained in:
Brian Kassouf 2017-01-13 14:35:15 -08:00 committed by GitHub
commit 678e605460

View File

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