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
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
c0a5f9fbef
Коммит
63d2851ec7
@@ -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(() => {
|
||||
|
||||
Ссылка в новой задаче
Block a user