Browse Source

not needed

pull/7479/head
chrislu 3 weeks ago
parent
commit
c25f202b3d
  1. 7
      weed/s3api/s3_granular_action_security_test.go

7
weed/s3api/s3_granular_action_security_test.go

@ -6,7 +6,6 @@ import (
"strings"
"testing"
"github.com/gorilla/mux"
"github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"
"github.com/stretchr/testify/assert"
)
@ -44,12 +43,6 @@ func createTestRequestWithQueryParams(method, path string, queryParams map[strin
object = "/" + strings.Join(parts[1:], "/")
}
// Simulate mux.Vars for GetBucketAndObject
req = mux.SetURLVars(req, map[string]string{
"bucket": bucket,
"object": object,
})
return req, bucket, object, nil
}

Loading…
Cancel
Save