summaryrefslogtreecommitdiff
path: root/tests/units/NotificationTest.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-09 12:47:49 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-09 12:47:49 -0500
commit3df63e051fac84cec98c912668722f87d6e8183e (patch)
tree648a92db37f3295669ae6cc59126fc003235cfa8 /tests/units/NotificationTest.php
parente0117cb8ed6326e8c77a02ce265c2b5f195e08d8 (diff)
Add projects to the dashboard and rename some methods
Diffstat (limited to 'tests/units/NotificationTest.php')
-rw-r--r--tests/units/NotificationTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/NotificationTest.php b/tests/units/NotificationTest.php
index 1c8fb6e5..6c0539c2 100644
--- a/tests/units/NotificationTest.php
+++ b/tests/units/NotificationTest.php
@@ -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);