Create test folder for phpunit

This commit is contained in:
Dany De Bontridder 2020-03-21 18:22:20 +01:00
parent 813ea086e7
commit 284fc2ebef

View file

@ -1,9 +1,9 @@
#!/bin/bash
DOSSIER_TEST=rel70dossier25
FILE_TEST=dossiertest191124-2109.bin
FILE_TEST=dossiertest200318-1402.sql
dropdb $DOSSIER_TEST
createdb $DOSSIER_TEST
pg_restore -Fp --no-owner --no-privilege --verbose -d $DOSSIER_TEST db/$FILE_TEST
psql -X $DOSSIER_TEST < db/$FILE_TEST