Add projects to the dashboard and rename some methods

This commit is contained in:
Frédéric Guillot
2014-11-09 12:47:49 -05:00
parent e0117cb8ed
commit 3df63e051f
30 changed files with 262 additions and 75 deletions

View File

@@ -31,7 +31,7 @@ class NotificationTest extends Base
$this->assertTrue($u->create(array('username' => 'user4')));
// Nobody is member of any projects
$this->assertEmpty($pp->getAllowedUsers(1));
$this->assertEmpty($pp->getMembers(1));
$this->assertEmpty($n->getUsersWithNotification(1));
// We allow all users to be member of our projects
@@ -40,7 +40,7 @@ class NotificationTest extends Base
$this->assertTrue($pp->allowUser(1, 3));
$this->assertTrue($pp->allowUser(1, 4));
$this->assertNotEmpty($pp->getAllowedUsers(1));
$this->assertNotEmpty($pp->getMembers(1));
$users = $n->getUsersWithNotification(1);
$this->assertNotEmpty($users);