Commit 4e8308db authored by Daniel Caillibaud's avatar Daniel Caillibaud

fix test teapot

parent 12a84c38
......@@ -34,12 +34,14 @@
const flow = require('an-flow')
// Des retours d'erreur, pour tester la gestion d'erreur de nos clients
// Attention, nos tests s'attendent à trouver ça, mais ils récupèrent ce que renvoit le module http-errors !
// (pas trouvé pourquoi…)
const errors = {
400: 'Bad Request',
401: 'Unauthorized',
403: 'Forbidden',
404: 'Not Found',
418: 'I\'m a teapot',
418: 'I\'m a Teapot',
500: 'Internal Server Error',
503: 'Service Unavailable'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment