Ejemplo n.º 1
0
 public function testVerifyIncorrect()
 {
     $passwordHelper = new \pmill\Auth\Password();
     $verifyPasswordResult = $passwordHelper->verify($passwordHelper->hash('hunter2'), 'incorrect-password');
     $this->assertFalse($verifyPasswordResult);
 }