refactored set_bucket_encrypion (#116)

This commit is contained in:
Henk-Jan Lebbink
2025-02-04 20:59:49 +01:00
committed by GitHub
parent 7ce9ad3594
commit 1a77ca826d
15 changed files with 291 additions and 106 deletions

View File

@@ -1268,7 +1268,7 @@ impl ClientTest {
.send()
.await
.unwrap();
assert!(resp.status.unwrap_or_default());
assert_eq!(resp.status, Some(true));
self.client
.set_bucket_versioning(&SetBucketVersioningArgs::new(&bucket_name, false).unwrap())
@@ -1281,7 +1281,7 @@ impl ClientTest {
.send()
.await
.unwrap();
assert!(!resp.status.unwrap_or_default());
assert_eq!(resp.status, Some(false));
self.client
.remove_bucket(&RemoveBucketArgs::new(&bucket_name).unwrap())