WIP category routes standardization + snippets imp

This commit is contained in:
Florian Sylvain
2023-02-01 18:20:14 +01:00
parent 472be47056
commit c0ec0ac899
3 changed files with 82 additions and 4 deletions
+2
View File
@@ -12,6 +12,8 @@ const testUserCredentials = {
password: "aaaaaaaaaa"
}
// Mettre a jour les routes Category en stockant les IDs sur GET pour reutiliser sur DELETE
beforeAll(async () => {
await prisma.user.create({
data: {