public void ManangeLinkLogin() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.LinkLogin(""); }
public void ManageDisableTwoFactorAuthentication() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.DisableTwoFactorAuthentication(); //Assert Assert.IsTrue(result.IsCompleted); }
public void ManageAddPhoneNumberItem() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.AddPhoneNumber(new NorthwindWeb.ViewModels.AddPhoneNumberViewModel()); //Assert Assert.IsTrue(result.IsCompleted); }
public void ManageAddPhoneNumber() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.AddPhoneNumber() as ViewResult; //Assert Assert.IsNotNull(result); }
public void ManageRemoveLogin() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.RemoveLogin("", ""); //Assert Assert.IsTrue(result.IsCompleted); }
public void ManageLinkLoginCallback() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.LinkLoginCallback(); //Assert Assert.IsNotNull(result); }
public void ManageManageLogin() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.ManageLogins(new NorthwindWeb.Controllers.ManageController.ManageMessageId()); //Assert Assert.IsNotNull(result); }
public void ManageSetPasswordItem() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.SetPassword(new NorthwindWeb.ViewModels.SetPasswordViewModel()); //Assert Assert.IsTrue(result.IsCompleted); }
public void ManageSetPassword() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.SetPassword(); //Assert Assert.IsNotNull(result); }
public void ManageVerifyPhoneNumber() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.VerifyPhoneNumber("0734570099"); var result2 = controller.VerifyPhoneNumber(new NorthwindWeb.ViewModels.VerifyPhoneNumberViewModel()); //Assert Assert.IsTrue(result.IsCompleted); Assert.IsTrue(result2.IsCompleted); }