Skip to content

Commit

Permalink
Merge pull request #9 from mumby0168/fix_bad_test
Browse files Browse the repository at this point in the history
Fix bad test where Put was called but Patch should of been
  • Loading branch information
robennett2 authored Jun 13, 2023
2 parents 0558c1e + f0fb9fd commit d6c78d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Fluent.Http.Tests/HttpRequestMessageFactoryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public async Task Put_JsonObject_SetsPutRequestCorrectly()
[Fact]
public async Task Patch_JsonObject_SetsPatchRequestCorrectly()
{
HttpRequestMessage message = Put(new Person {Id = 1, Name = "Joe Bloggs"});
HttpRequestMessage message = Patch(new Person {Id = 1, Name = "Joe Bloggs"});

message.Content.Should().BeOfType<StringContent>();
message.Method.Should().Be(HttpMethod.Patch);
Expand Down

0 comments on commit d6c78d6

Please sign in to comment.