You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExpectedMessage="When calling CreatedAtRouteAction action in WebApiController expected created result to redirect to '/api/Redirect/WithParameter?id=2', but in fact redirected to '/api/Redirect/WithParameter?id=1'.")]
ExpectedMessage="When calling CreatedAtRouteAction action in WebApiController expected created result to redirect to a specific URI, but such URI could not be resolved from the 'Redirect' route template.")]
ExpectedMessage="When calling RedirectToRouteAction action in WebApiController expected redirect result to redirect to '/api/Redirect/WithParameter?id=2', but in fact redirected to '/api/Redirect/WithParameter?id=1'.")]
ExpectedMessage="When calling RedirectToRouteAction action in WebApiController expected redirect result to redirect to a specific URI, but such URI could not be resolved from the 'Redirect' route template.")]
Copy file name to clipboardExpand all lines: src/MyWebApi.Tests/BuildersTests/HttpRequestMessageBuilderTests.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -284,7 +284,7 @@ public void WithContentHeadersDictionaryShouldPopulateCorrectHeaders()
284
284
[Test]
285
285
[ExpectedException(
286
286
typeof(InvalidHttpRequestMessageException),
287
-
ExpectedMessage="When building HttpRequestMessage expected content to be initialized and set in order to add content headers, but instead received null.")]
287
+
ExpectedMessage="When building HttpRequestMessage expected content to be initialized and set in order to add content headers.")]
0 commit comments