예제 #1
0
 /**
  * @dataProvider providerInvalidUserPasswords
  * @param string $password
  */
 public function testValidateInvalidPassword($password)
 {
     $this->_model->setNewPassword($password);
     $errors = $this->_model->validate();
     $this->assertContains(Mage::helper('Mage_User_Helper_Data')->__('Password must include both numeric and alphabetic characters.'), $errors);
 }