fix: VersioningConfiguration xml reference

empty element handling is set as expanded and be consistant.
This commit is contained in:
Gwen Lg
2026-02-16 14:55:22 +01:00
committed by Alex
parent 2576626240
commit 290a7f5ab6

View File

@@ -468,7 +468,7 @@ mod tests {
assert_eq!(
to_xml_with_header(&get_bucket_versioning)?,
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
<VersioningConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"/>"
<VersioningConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"></VersioningConfiguration>"
);
let get_bucket_versioning2 = VersioningConfiguration {
xmlns: (),