Test getPasswordHash() methods

This commit is contained in:
Marcin Łojewski
2018-07-02 21:10:27 +02:00
parent 89598a5b36
commit 6a01cff095
20 changed files with 120 additions and 0 deletions

View File

@@ -48,6 +48,12 @@ class CourierSHA256Test extends TestCase
);
}
public function testPasswordHash()
{
$hash = $this->crypto->getPasswordHash("password");
$this->assertTrue($this->crypto->checkPassword("password", $hash));
}
protected function setUp()
{
parent::setUp();