12 Commits

Author SHA1 Message Date
Alexandre Bodin
07e7cfc0bd Make lint stricter and fix the errors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-02 19:41:42 +01:00
Pierre Noël
25bea051e0 prevent delete user route to delete last superAdmin
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:10:11 +02:00
Convly
d69101427f Fix PR: Refactor user e2e tests, fix domain logic, add user::deleteOne route 2020-07-08 11:04:22 +02:00
Alexandre Bodin
35d87bfdcd Cleanup
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:53:23 +02:00
Alexandre Bodin
7a056c2f45 Add admin registeration API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:53:19 +02:00
Alexandre Bodin
a4f294f1c4 Use passport standard error handling
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:38 +02:00
Alexandre Bodin
a2bfb52344 Refactor testing, add simple crud tests 2019-05-13 14:00:12 +02:00
Alexandre Bodin
9e60be6fb0 clean model creationg during tests 2019-05-13 14:00:12 +02:00
soupette
1544cdf877 Fix PR feedback 2019-04-09 18:35:49 +02:00
Alexandre Bodin
96b023d16b Restructure tests 2019-03-13 00:10:19 +01:00
Alexandre Bodin
f4b5a487d1 Add forceExit param to jest runner 2019-03-13 00:10:19 +01:00
Jim LAURIE
9840247d1c Test generated API endpoint 2018-07-19 14:46:03 +02:00