summaryrefslogtreecommitdiffstats
path: root/webapp/tests/client_channel.test.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-02-13 15:19:41 -0500
committerCorey Hulen <corey@hulen.com>2017-02-13 15:19:41 -0500
commit06f89cea302bc2d634044cbab6c8a5c5b369ff02 (patch)
tree0ac873005c5c67496b5e0c476d52108888f4cef0 /webapp/tests/client_channel.test.jsx
parent892f8f4651234631a4f83648334cf14f6da323b2 (diff)
downloadchat-06f89cea302bc2d634044cbab6c8a5c5b369ff02.tar.gz
chat-06f89cea302bc2d634044cbab6c8a5c5b369ff02.tar.bz2
chat-06f89cea302bc2d634044cbab6c8a5c5b369ff02.zip
Final fixes for moving unread handling to client (#5392)
Diffstat (limited to 'webapp/tests/client_channel.test.jsx')
-rw-r--r--webapp/tests/client_channel.test.jsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/webapp/tests/client_channel.test.jsx b/webapp/tests/client_channel.test.jsx
index 02d014a1f..154f70fef 100644
--- a/webapp/tests/client_channel.test.jsx
+++ b/webapp/tests/client_channel.test.jsx
@@ -352,6 +352,21 @@ describe('Client.Channels', function() {
});
});
+ it('getMyChannelMembersForTeam', function(done) {
+ TestHelper.initBasic(() => {
+ TestHelper.basicClient().getMyChannelMembersForTeam(
+ TestHelper.basicTeam().id,
+ function(data) {
+ assert.equal(data.length > 0, true);
+ done();
+ },
+ function(err) {
+ done(new Error(err.message));
+ }
+ );
+ });
+ });
+
it('getChannelStats', function(done) {
TestHelper.initBasic(() => {
TestHelper.basicClient().getChannelStats(