File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 env :
2828 POSTGRES_USER : test_user
2929 POSTGRES_PASSWORD : test_password
30- POSTGRES_DB : industrace_test
30+ POSTGRES_DB : secureot_db_test
3131 ports :
3232 - 5432:5432
3333 # Health check para esperar a que la DB arranque antes de empezar
7373 - name : Run Migrations
7474 working-directory : ./backend
7575 env :
76- DATABASE_URL : postgres://test_user:test_password@localhost:5432/industrace_test
76+ DATABASE_URL : postgres://test_user:test_password@localhost:5432/secureot_db
7777 run : |
7878 # Esperar un segundo extra por seguridad
7979 sleep 2
8383 - name : Run tests
8484 working-directory : ./backend
8585 env :
86- DATABASE_URL : postgres://test_user:test_password@localhost:5432/industrace_test
86+ DATABASE_URL : postgres://test_user:test_password@localhost:5432/secureot_db_test
8787 JWT_SECRET : secreto_super_seguro_para_tests
8888 RUST_LOG : info
8989 # Desactivamos modo offline para los tests reales ya que tenemos DB viva
You can’t perform that action at this time.
0 commit comments