Skip to content

Commit

Permalink
Fix bad test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Bennett committed Jun 13, 2023
1 parent 0558c1e commit f0fb9fd
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 f0fb9fd

Please sign in to comment.