Add DeleteAll with expiry days non zero value only (#19095)

Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
This commit is contained in:
Shubhendu
2024-02-22 01:58:34 +05:30
committed by GitHub
parent 92180bc793
commit 56887f3208
2 changed files with 7 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ func TestInvalidExpiration(t *testing.T) {
<Date>2019-04-20T00:00:00Z</Date>
<ExpiredObjectAllVersions>true</ExpiredObjectAllVersions>
</Expiration>`,
expectedErr: nil,
expectedErr: errLifecycleInvalidDeleteAll,
},
}
for i, tc := range validationTestCases {