fix todolist removal

This commit is contained in:
2018-06-01 17:51:28 +03:00
parent 33b802d9e7
commit 9c354f5445
5 changed files with 19 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ describe('test users', () => {
})
.set('Content-Type', 'application/json')
.set('Accept', 'application/json')
.expect(400);
.expect(401);
});
test('should not login user with wrong password', async () => {
await request(server)