style(e2e): format sts_query_compat_test PutObjectTagging check

This commit is contained in:
overtrue
2026-11-26 17:53:21 +08:00
parent 986fb4269b
commit c269a1233d
+2 -1
View File
@@ -906,7 +906,8 @@ async fn test_bucket_tags_opa_contract() -> TestResult {
opa.expect_versioned_tag_permission(source, "report", version).await?;
}
opa.expect_bucket_tags("s3:PutObject", destination, Some("finance")).await?;
opa.expect_bucket_tags("s3:PutObjectTagging", destination, Some("finance")).await?;
opa.expect_bucket_tags("s3:PutObjectTagging", destination, Some("finance"))
.await?;
}
let tags = admin.get_object_tagging().bucket(destination).key("copied").send().await?;
assert_eq!(tags.tag_set().len(), 1);