mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Add_Chroot_Namespace_In_Response (#24355)
This commit is contained in:
@@ -323,7 +323,7 @@ func TestLogical_ListSuffix(t *testing.T) {
|
||||
req = req.WithContext(namespace.RootContext(nil))
|
||||
req.Header.Add(consts.AuthHeaderName, rootToken)
|
||||
|
||||
lreq, _, status, err := buildLogicalRequest(core, nil, req)
|
||||
lreq, _, status, err := buildLogicalRequest(core, nil, req, "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -338,7 +338,7 @@ func TestLogical_ListSuffix(t *testing.T) {
|
||||
req = req.WithContext(namespace.RootContext(nil))
|
||||
req.Header.Add(consts.AuthHeaderName, rootToken)
|
||||
|
||||
lreq, _, status, err = buildLogicalRequest(core, nil, req)
|
||||
lreq, _, status, err = buildLogicalRequest(core, nil, req, "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -358,7 +358,7 @@ func TestLogical_ListSuffix(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
lreq, _, status, err = buildLogicalRequest(core, nil, req)
|
||||
lreq, _, status, err = buildLogicalRequest(core, nil, req, "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -517,7 +517,7 @@ func TestLogical_ListWithQueryParameters(t *testing.T) {
|
||||
req = req.WithContext(namespace.RootContext(nil))
|
||||
req.Header.Add(consts.AuthHeaderName, rootToken)
|
||||
|
||||
lreq, _, status, err := buildLogicalRequest(core, nil, req)
|
||||
lreq, _, status, err := buildLogicalRequest(core, nil, req, "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user