Skip to content

Commit 6759aad

Browse files
committed
update ObjectTaggingTests
1 parent a5ef97c commit 6759aad

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

sdk/test/Services/S3/IntegrationTests/ObjectTaggingTests.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,12 @@ public void PutObjectTaggingWithVersionTest()
220220
// Put tagging for each version of the object
221221
//
222222

223-
Client.PutObjectTagging(new PutObjectTaggingRequest{
223+
Client.PutObjectTagging(new PutObjectTaggingRequest
224+
{
224225
BucketName = bucketName,
225226
Key = key,
226-
Tagging = {
227+
Tagging = new Tagging
228+
{
227229
TagSet = new List<Tag>{
228230
new Tag{ Key = "key", Value = "Value"}
229231
}
@@ -235,7 +237,8 @@ public void PutObjectTaggingWithVersionTest()
235237
{
236238
BucketName = bucketName,
237239
Key = key,
238-
Tagging = {
240+
Tagging = new Tagging
241+
{
239242
TagSet = new List<Tag>{
240243
new Tag{ Key = "key", Value = "Value2"}
241244
},

0 commit comments

Comments
 (0)