Skip to content

Commit

Permalink
Add V2 to other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrsongg committed Oct 15, 2024
1 parent 9b540ad commit 2d32f0d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void SetHttpVerb()
var request = new GetPreSignedUrlRequest();
var values = new Dictionary<string, object> { { "Verb", "DELETE" } };

InternalSDKUtils.ApplyValues(request, values);
InternalSDKUtils.ApplyValuesV2(request, values);

Assert.AreEqual(request.Verb, HttpVerb.DELETE);
}
Expand All @@ -40,14 +40,14 @@ public void SetAutoCloseStream()
var request = new PutObjectRequest();
var values = new Dictionary<string, object> { { "AutoCloseStream", false } };

InternalSDKUtils.ApplyValues(request, values);
InternalSDKUtils.ApplyValuesV2(request, values);

Assert.AreEqual(request.AutoCloseStream, false);

request = new PutObjectRequest();
values = new Dictionary<string, object> { { "AutoCloseStream", true } };

InternalSDKUtils.ApplyValues(request, values);
InternalSDKUtils.ApplyValuesV2(request, values);

Assert.AreEqual(request.AutoCloseStream, true);
}
Expand Down

0 comments on commit 2d32f0d

Please sign in to comment.