Skip to content

Commit

Permalink
Update NotifierComponentTest.php
Browse files Browse the repository at this point in the history
Added 2 test cases for the newly added $limit parameter
  • Loading branch information
akkaweb committed Mar 24, 2016
1 parent 1d447dc commit 3089569
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/TestCase/Controller/Component/NotifierComponentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public function testGetNotifications()
$this->assertEquals(2, count($this->Notifier->getNotifications(2)));
$this->assertEquals(0, count($this->Notifier->getNotifications(2, true)));
$this->assertEquals(2, count($this->Notifier->getNotifications(2, false)));
$this->assertEquals(1, count($this->Notifier->getNotifications(1, true, 1)));
$this->assertEquals(2, count($this->Notifier->getNotifications(2, false, 3)));
}

public function testMarkAsReadWithAuth()
Expand Down

0 comments on commit 3089569

Please sign in to comment.