diff --git a/tests/Fluent.Http.Tests/HttpRequestMessageFactoryTests.cs b/tests/Fluent.Http.Tests/HttpRequestMessageFactoryTests.cs index bed5419..9116895 100644 --- a/tests/Fluent.Http.Tests/HttpRequestMessageFactoryTests.cs +++ b/tests/Fluent.Http.Tests/HttpRequestMessageFactoryTests.cs @@ -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(); message.Method.Should().Be(HttpMethod.Patch);