8 Commits

Author SHA1 Message Date
Convly
d69101427f Fix PR: Refactor user e2e tests, fix domain logic, add user::deleteOne route 2020-07-08 11:04:22 +02:00
Convly
6897cbf6ad Add update user route in the user api 2020-07-08 11:04:20 +02:00
Alexandre Bodin
252bb3afe3 Remove email update of admin during test that break next tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:51:03 +02:00
Alexandre Bodin
851ba201ac Add /users/me routes
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:51:01 +02:00
Alexandre Bodin
2d55f281da Remove role min limit to make test functional
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:45:07 +02:00
Alexandre Bodin
a841400f85 Add register route
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:45:03 +02:00
Convly
40089ed4aa Add e2e tests, fix validation for mongoose, update services
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:38:08 +02:00
Convly
8b4db69e8c Add schema validation for POST /admin/users
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:38:02 +02:00