fix(tests): correct string update errors

This commit is contained in:
SabreCat
2018-11-28 01:00:46 +00:00
parent b509c6631d
commit a30c4379a6
3 changed files with 9 additions and 5 deletions

View File

@@ -94,9 +94,6 @@ describe('POST /user/auth/reset-password-set-new-one', () => {
userId: user._id,
expiresAt: moment().add({days: 1}),
}));
await user.update({
auth: 'not an object with valid fields',
});
await expect(api.post(`${endpoint}`, {
code,