public void Validatipn_Login_Password_Length_Not_Match_Account() { var login = new Login.AccountLoginDto() { Email = "*****@*****.**", Password = "******" }; var validator = new Login.AccountLoginDtoValidator(); validator.ShouldHaveValidationErrorFor(acc => acc.Password, login); }
public void Validatipn_Login_Email_Not_Match_Account() { var login = new Login.AccountLoginDto() { Email = "a", Password = "******" }; var validator = new Login.AccountLoginDtoValidator(); validator.ShouldHaveValidationErrorFor(acc => acc.Email, login); }