diff --git a/test/user.test.js b/test/user.test.js index 693939bf..a5ef88e4 100644 --- a/test/user.test.js +++ b/test/user.test.js @@ -1407,7 +1407,7 @@ describe('User', function() { }); it('changes the password - instance method', () => { - validCredentialsUser.changePassword(currentPassword, 'new password') + return validCredentialsUser.changePassword(currentPassword, 'new password') .then(() => { expect(arguments.length, 'changePassword promise resolution') .to.equal(0);