PLT-5109/PLT-5112 Fixed commented out unit tests (#4951)

* Removed note about unconfirmed race condition

* Fixed unit tests in client_channel.test.jsx

* Fixed updateActive unit test on client
Этот коммит содержится в:
Harrison Healey
2017-01-04 09:30:14 -05:00
коммит произвёл Corey Hulen
родитель c0a5f9fbef
Коммит 63d2851ec7
3 изменённых файлов: 16 добавлений и 35 удалений

Просмотреть файл

@@ -258,16 +258,15 @@ describe('Client.User', function() {
});
});
/* TODO: FIX THIS TEST
it('updateActive', function(done) {
TestHelper.initBasic(() => {
var user = TestHelper.basicUser();
const user = TestHelper.basicUser();
TestHelper.basicClient().updateActive(
user.id,
false,
function(data) {
assert.equal(data.last_activity_at > 0, true);
assert.ok(data.delete_at > 0);
done();
},
function(err) {
@@ -275,7 +274,7 @@ describe('Client.User', function() {
}
);
});
});*/
});
it('sendPasswordReset', function(done) {
TestHelper.initBasic(() => {