summaryrefslogtreecommitdiffstats
path: root/webapp
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
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')
-rw-r--r--webapp/tests/client/client_channel.test.jsx31
-rw-r--r--webapp/tests/client/client_user.test.jsx17
2 files changed, 0 insertions, 48 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(
diff --git a/webapp/tests/client/client_user.test.jsx b/webapp/tests/client/client_user.test.jsx
index 5f299670d..22bdd0e0f 100644
--- a/webapp/tests/client/client_user.test.jsx
+++ b/webapp/tests/client/client_user.test.jsx
@@ -651,23 +651,6 @@ describe('Client.User', function() {
});
});
- test('setActiveChannel', function(done) {
- TestHelper.initBasic(done, () => {
- var ids = [];
- ids.push(TestHelper.basicUser().id);
-
- TestHelper.basicClient().setActiveChannel(
- TestHelper.basicChannel().id,
- function() {
- done();
- },
- function(err) {
- done.fail(new Error(err.message));
- }
- );
- });
- });
-
test('verifyEmail', function(done) {
TestHelper.initBasic(done, () => {
TestHelper.basicClient().enableLogErrorsToConsole(false); // Disabling since this unit test causes an error