summaryrefslogtreecommitdiffstats
path: root/webapp/tests/client_user.test.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/tests/client_user.test.jsx')
-rw-r--r--webapp/tests/client_user.test.jsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/webapp/tests/client_user.test.jsx b/webapp/tests/client_user.test.jsx
index 741f494bb..643640b59 100644
--- a/webapp/tests/client_user.test.jsx
+++ b/webapp/tests/client_user.test.jsx
@@ -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(() => {