mirror of https://github.com/zulip/zulip.git
Improve test coverage for people.get_recipient_count().
This commit is contained in:
parent
4c4733bcec
commit
9b97b5da13
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue