Improve test coverage for people.get_recipient_count().

This commit is contained in:
Steve Howell 2016-11-04 06:34:58 -07:00 committed by Tim Abbott
parent 4c4733bcec
commit 9b97b5da13
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ var _ = global._;
people.incr_recipient_count(email);
people.incr_recipient_count(email);
assert.equal(people.get_recipient_count({email: email}), 2);
assert.equal(people.get_recipient_count({pm_recipient_count: 5}), 5);
}());
(function test_filtered_users() {