Add pagination for users page

This commit is contained in:
Frédéric Guillot
2014-10-25 15:44:38 -04:00
parent 471736bf8c
commit 45b5e8b879
5 changed files with 114 additions and 17 deletions

View File

@@ -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);