public testPasswordsAreEncrypted ( ) : void | ||
return | void |
public function testPasswordsAreEncrypted()
{
$pw = 'password';
$this->User->password = $pw;
$this->assertTrue((new DefaultPasswordHasher())->check($pw, $this->User->password));
}