New API responses with good errors

This commit is contained in:
Jori Lallo
2016-09-17 14:53:30 -07:00
parent e631025887
commit fcc83dd2d6
11 changed files with 86 additions and 50 deletions

View File

@ -91,7 +91,7 @@ describe('#auth.login', () => {
await seed();
const res = await server.post('/api/auth.login', {
body: {
email: 'user1@example.com',
username: 'user1@example.com',
password: 'test123!',
},
});