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
thrownewActionResultAssertionException(string.Format("Expected HTTP status code to be '{0}', but instead received a '{1}'.",status,statusCodeResult.StatusCode));
thrownewActionResultAssertionException(string.Format("Expected redirect to URL '{0}', but instead was given a redirect to URL '{1}'.",url,redirectResult.Url));
thrownewActionResultAssertionException(string.Format("Expected redirect to route '{0}', but instead was given a redirect to route '{1}'.",route,redirectResult.RouteName));
thrownewActionResultAssertionException(string.Format("Expected redirect to controller '{0}', but instead was given a redirect to controller '{1}'.",controllerName,redirectResult.RouteValues["Controller"]));
thrownewActionResultAssertionException(string.Format("Expected redirect to action '{0}', but instead was given a redirect without an action.",actionName));
thrownewActionResultAssertionException(string.Format("Expected redirect to action '{0}', but instead was given a redirect to action '{1}'.",actionName,redirectResult.RouteValues["Action"]));
thrownewActionResultAssertionException(string.Format("Expected redirect to action '{0}' in '{1}' controller, but instead was given redirect to action '{2}' within the same controller.",actionName,controllerName,redirectResult.RouteValues["Action"]));
thrownewActionResultAssertionException(string.Format("Expected redirect to controller '{0}', but instead was given a redirect to controller '{1}'.",controllerName,redirectResult.RouteValues["Controller"]));
thrownewActionResultAssertionException(string.Format("Expected redirect to action '{0}', but instead was given a redirect to action '{1}'.",actionName,redirectResult.RouteValues["Action"]));
thrownewActionResultAssertionException(string.Format("Expected result view to be '{0}', but instead was given '{1}'.",viewName,viewResult.ViewName==""?_actionName:viewResult.ViewName));
0 commit comments