From 71f6256909d110f9fa045ad94775737fec4c7d20 Mon Sep 17 00:00:00 2001 From: Richard Szalay Date: Sat, 26 Aug 2017 21:09:32 +1000 Subject: [PATCH] Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44 --- RichardSzalay.MockHttp.Shared/MockedRequestExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RichardSzalay.MockHttp.Shared/MockedRequestExtensions.cs b/RichardSzalay.MockHttp.Shared/MockedRequestExtensions.cs index f6248b2..ab9ccfc 100644 --- a/RichardSzalay.MockHttp.Shared/MockedRequestExtensions.cs +++ b/RichardSzalay.MockHttp.Shared/MockedRequestExtensions.cs @@ -203,7 +203,7 @@ public static MockedRequest WithAny(this MockedRequest source, params IMockedReq /// /// The source mocked request /// The complete to return - [Obsolete("Using this overload is not recommended. Instead, use Response(req => new HttpResponseMessage(...))")] + [Obsolete("Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))")] public static void Respond(this MockedRequest source, HttpResponseMessage message) { source.Respond(_ => TaskEx.FromResult(message));