public void CheckPasswordPwned_Pass() { //Arrange string password = "******"; //Act var response = pm.CheckIsPasswordPwned(password); //Assert Assert.IsNotNull(response); Assert.IsTrue(response); }
public void CheckPasswordPwned_Pass() { //Arrange string password = "******"; //Act using (_db = tu.CreateDataBaseContext()) { PasswordManager pm = new PasswordManager(_db); var response = pm.CheckIsPasswordPwned(password); //Assert Assert.IsNotNull(response); Assert.IsTrue(response); } }