diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-05 16:27:42 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-05 16:28:46 +0300 |
commit | 96642b51f3f23051b140c714101c4c9e9c00d5b9 (patch) | |
tree | 84bcdc16f654023576f3101deaf6c28d98a782b5 /tests/Unit | |
parent | a674ec5ac773c876719f0d603bea0bae81d816dc (diff) |
Adjust the Handler so docs match the content
Diffstat (limited to 'tests/Unit')
-rw-r--r-- | tests/Unit/HandlerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/HandlerTest.php b/tests/Unit/HandlerTest.php index 17973b3..2e8836d 100644 --- a/tests/Unit/HandlerTest.php +++ b/tests/Unit/HandlerTest.php @@ -87,7 +87,7 @@ class HandlerTest extends TestCase { $this->assertCount(0, $notifications, 'Wrong notification count for user2 before beginning'); // Add and count - $this->handler->add($notification); + $this->assertGreaterThan($this->handler->add($notification), 0); $this->assertSame(1, $this->handler->count($limitedNotification1), 'Wrong notification count for user1 after adding'); $this->assertSame(0, $this->handler->count($limitedNotification2), 'Wrong notification count for user2 after adding'); |