diff --git a/sdk/logical/testing.go b/sdk/logical/testing.go index c5a7d9ce34..c0dc5b9bf4 100644 --- a/sdk/logical/testing.go +++ b/sdk/logical/testing.go @@ -9,15 +9,17 @@ import ( log "github.com/hashicorp/go-hclog" "github.com/hashicorp/vault/sdk/helper/logging" + "github.com/hashicorp/vault/sdk/logical" ) // TestRequest is a helper to create a purely in-memory Request struct. func TestRequest(t testing.T, op Operation, path string) *Request { return &Request{ - Operation: op, - Path: path, - Data: make(map[string]interface{}), - Storage: new(InmemStorage), + Operation: op, + Path: path, + Data: make(map[string]interface{}), + Storage: new(InmemStorage), + Connection: &logical.Connection{}, } }