From 45b5e8b879c1135398790cf988434188aa062cd4 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 25 Oct 2014 15:44:38 -0400 Subject: Add pagination for users page --- tests/units/UserTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/units') diff --git a/tests/units/UserTest.php b/tests/units/UserTest.php index b66a6c27..d4f9dd92 100644 --- a/tests/units/UserTest.php +++ b/tests/units/UserTest.php @@ -9,6 +9,15 @@ use Model\Project; class UserTest extends Base { + public function testPassword() + { + $password = 'test123'; + $hash = password_hash($password, PASSWORD_BCRYPT); + + $this->assertNotEmpty($hash); + $this->assertTrue(password_verify($password, $hash)); + } + public function testPrepare() { $u = new User($this->registry); -- cgit v1.2.3