Skip to content

Commit

Permalink
Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
richardszalay committed Aug 29, 2017
1 parent ac73a22 commit 71f6256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RichardSzalay.MockHttp.Shared/MockedRequestExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public static MockedRequest WithAny(this MockedRequest source, params IMockedReq
/// </summary>
/// <param name="source">The source mocked request</param>
/// <param name="message">The complete <see cref="T:HttpResponseMessage"/> to return</param>
[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));
Expand Down

0 comments on commit 71f6256

Please sign in to comment.