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:
13
test-add-custom-fields.sh
Executable file
13
test-add-custom-fields.sh
Executable 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é !"
|
||||
Reference in New Issue
Block a user