From 35ecaa2b6bde421fea4c35b8cd1cd3b2e70b3aac Mon Sep 17 00:00:00 2001 From: Calvin Leung Huang Date: Fri, 15 Feb 2019 10:45:55 -0800 Subject: [PATCH] fix TestSystemBackend_InternalUIMounts --- vault/logical_system_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vault/logical_system_test.go b/vault/logical_system_test.go index a41bf125f..8e12a27d7 100644 --- a/vault/logical_system_test.go +++ b/vault/logical_system_test.go @@ -2283,9 +2283,10 @@ func TestSystemBackend_InternalUIMounts(t *testing.T) { "description": "system endpoints used for control, policy and debugging", "accessor": resp.Data["secret"].(map[string]interface{})["sys/"].(map[string]interface{})["accessor"], "config": map[string]interface{}{ - "default_lease_ttl": resp.Data["secret"].(map[string]interface{})["sys/"].(map[string]interface{})["config"].(map[string]interface{})["default_lease_ttl"].(int64), - "max_lease_ttl": resp.Data["secret"].(map[string]interface{})["sys/"].(map[string]interface{})["config"].(map[string]interface{})["max_lease_ttl"].(int64), - "force_no_cache": false, + "default_lease_ttl": resp.Data["secret"].(map[string]interface{})["sys/"].(map[string]interface{})["config"].(map[string]interface{})["default_lease_ttl"].(int64), + "max_lease_ttl": resp.Data["secret"].(map[string]interface{})["sys/"].(map[string]interface{})["config"].(map[string]interface{})["max_lease_ttl"].(int64), + "force_no_cache": false, + "passthrough_request_headers": []string{"Accept"}, }, "local": false, "seal_wrap": false,