starts-with policy condition support issue (#7937)

This commit is contained in:
ebozduman
2019-09-22 14:20:49 -07:00
committed by Harshavardhana
parent 26985ac632
commit dbf7b1e573
4 changed files with 34 additions and 27 deletions

View File

@@ -314,7 +314,7 @@ func testPostPolicyBucketHandler(obj ObjectLayer, instanceType string, t TestErr
{
objectName: "test",
data: []byte("Hello, World"),
expectedRespStatus: http.StatusBadRequest,
expectedRespStatus: http.StatusForbidden,
accessKey: credentials.AccessKey,
secretKey: credentials.SecretKey,
dates: []interface{}{curTimePlus5Min.Format(expirationDateFormat), curTime.Format(iso8601DateFormat), curTime.Format(yyyymmdd)},