public void WhenUserLogsInWithAnd(string username, string password) { UAbl = new UserAccountBL(_sceneriocontext); Assert.IsTrue(UAbl.invoke()); Assert.IsTrue(UAbl.createLoginBody(username, password, "ApplicationUser/Login")); Assert.IsTrue(UAbl.executereq()); }
public void WhenUserRegisterANewUserWith(string Email, string FullName, string UserName, string Password) { UAbl = new UserAccountBL(_sceneriocontext); Assert.IsTrue(UAbl.invoke()); Assert.IsTrue(UAbl.createRegBody(Email, FullName, UserName, Password, "ApplicationUser/Register")); Assert.IsTrue(UAbl.executereq()); }