feat: Tests et scripts utilitaires - Ajout des tests e2e, scripts de configuration de base de données et scripts de test API

This commit is contained in:
Matthieu
2025-07-29 21:04:22 +02:00
parent b4886d68bf
commit e145b2c1ff
8 changed files with 583 additions and 0 deletions

13
test-add-custom-fields.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Script pour ajouter les champs personnalisés manquants à une machine existante
MACHINE_ID="cmdn9ifhw0004ijrv0kqjzjyd"
echo "Ajout des champs personnalisés manquants pour la machine $MACHINE_ID..."
curl -X POST "http://localhost:3000/api/machines/$MACHINE_ID/add-custom-fields" \
-H "Content-Type: application/json" \
-w "\nStatus: %{http_code}\n"
echo "Terminé !"