Exemplo n.º 1
0
 public void GivenTheUserIsLoggedIn()
 {
     _loginModel = new LoginModel
     {
         UserName = "******",
         Password = "******",
         RememberMe = true
     };
     _controller = new AccountController();
 }
Exemplo n.º 2
0
 public void GivenTheUserHasEnteredAllTheInformation()
 {
     _registerModel = new RegisterModel
     {
         UserName = "******" + new Random(1000).NextDouble().ToString(CultureInfo.InvariantCulture),
         Email = "*****@*****.**",
         Password = "******",
         ConfirmPassword = "******"
     };
     _controller = new AccountController();
 }
Exemplo n.º 3
0
 public void WhenTheUserGoesToTheRegisterUserScreen()
 {
     _controller = new AccountController();
        _result = _controller.Register();
 }