check() public static method

public static check ( $value, $hash )
Esempio n. 1
0
 /** @test */
 public function can_set_password()
 {
     $pw = 'testpassword';
     $this->user->setPassword($pw);
     $this->assertTrue(hash::check($pw, $this->user->getAuthPassword()));
 }