public static void VerifyExternalLinkExpiredResult(AuthenticationController controller, ActionResult result) { ResultAssert.IsRedirectToRoute(result, new { action = "LogOn" }); Assert.Equal(Strings.ExternalAccountLinkExpired, controller.TempData["Message"]); }
protected void AssertRedirectToIndex(ActionResult result) { ResultAssert.IsRedirectToRoute(result, new { action = nameof(FeaturesController.Index) }); }