summaryrefslogtreecommitdiffstats
path: root/webapp/tests/client/client_channel.test.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-03-28 08:07:15 -0400
committerGitHub <noreply@github.com>2017-03-28 08:07:15 -0400
commit060b9f92c382052276fa784065af6b18eda70669 (patch)
tree1d1703b1668b017e8461bdfaa07288ed9b3db4a0 /webapp/tests/client/client_channel.test.jsx
parentdaca0d93f621bcb1daae149c178af0631bcd120a (diff)
downloadchat-060b9f92c382052276fa784065af6b18eda70669.tar.gz
chat-060b9f92c382052276fa784065af6b18eda70669.tar.bz2
chat-060b9f92c382052276fa784065af6b18eda70669.zip
Remove API endpoints being deprecated in 3.8 (#5880)
Diffstat (limited to 'webapp/tests/client/client_channel.test.jsx')
-rw-r--r--webapp/tests/client/client_channel.test.jsx31
1 files changed, 0 insertions, 31 deletions
diff --git a/webapp/tests/client/client_channel.test.jsx b/webapp/tests/client/client_channel.test.jsx
index dae70bca2..106cfe38c 100644
--- a/webapp/tests/client/client_channel.test.jsx
+++ b/webapp/tests/client/client_channel.test.jsx
@@ -246,23 +246,6 @@ describe('Client.Channels', function() {
});
});
- test('updateLastViewedAt', function(done) {
- TestHelper.initBasic(done, () => {
- var channel = TestHelper.basicChannel();
- TestHelper.basicClient().updateLastViewedAt(
- channel.id,
- true,
- function(data) {
- expect(data.id).toEqual(channel.id);
- done();
- },
- function(err) {
- done.fail(new Error(err.message));
- }
- );
- });
- });
-
test('getChannels', function(done) {
TestHelper.initBasic(done, () => {
TestHelper.basicClient().getChannels(
@@ -292,20 +275,6 @@ describe('Client.Channels', function() {
});
});
- test('getMoreChannels', function(done) {
- TestHelper.initBasic(done, () => {
- TestHelper.basicClient().getMoreChannels(
- function(data) {
- expect(data.length).toBe(0);
- done();
- },
- function(err) {
- done.fail(new Error(err.message));
- }
- );
- });
- });
-
test('getMoreChannelsPage', function(done) {
TestHelper.initBasic(done, () => {
TestHelper.basicClient().getMoreChannelsPage(