Add_Chroot_Namespace_In_Response (#24355)

This commit is contained in:
divyaac
2023-12-04 14:51:44 -08:00
committed by GitHub
parent aa9b02307d
commit 6e020e38e0
8 changed files with 40 additions and 25 deletions

View File

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