mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
Added specific error for InvalidObjectName (#2157)
This commit is contained in:
committed by
Harshavardhana
parent
ae80f8ca35
commit
bc8720406d
+1
-1
@@ -878,7 +878,7 @@ func (s *TestSuiteCommon) TestPutObjectLongName(c *C) {
|
||||
|
||||
response, err = client.Do(request)
|
||||
c.Assert(err, IsNil)
|
||||
verifyError(c, response, "NotImplemented", "A header you provided implies functionality that is not implemented", http.StatusNotImplemented)
|
||||
verifyError(c, response, "XMinioInvalidObjectName", "Object name contains unsupported characters. Unsupported characters are `^*|\\\"", http.StatusBadRequest)
|
||||
}
|
||||
|
||||
// TestNotBeAbleToCreateObjectInNonexistentBucket - Validates the error response
|
||||
|
||||
Reference in New Issue
Block a user