We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af703b5 + 223ff5a commit c1781e1Copy full SHA for c1781e1
1 file changed
docs/_docfx/tutorial/helpers.md
@@ -186,7 +186,8 @@ public void AddressAndPaymentShouldRerurnRedirectWithValidData(
186
187
Running this test will give us the following strange error message:
188
189
-``` When calling AddressAndPayment action in CheckoutController expected redirect result to have resolved location to '/Checkout/Complete/1', but in fact received '/Home/Complete/1'.
+```
190
+When calling AddressAndPayment action in CheckoutController expected redirect result to have resolved location to '/Checkout/Complete/1', but in fact received '/Home/Complete/1'.
191
```
192
193
The problem is that the request path is empty which makes the action route data being invalid. For that reason, we are receiving wrong redirection location. The fix is easy - just call **"WithRouteData"**:
0 commit comments