diff options
Diffstat (limited to 'webapp/tests')
-rw-r--r-- | webapp/tests/client/client_channel.test.jsx | 31 | ||||
-rw-r--r-- | webapp/tests/client/client_user.test.jsx | 17 |
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 |