fix running tests from command-line via gw-test (#93)

Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #93
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
This commit is contained in:
Michael Hoennig 2024-08-30 10:06:39 +02:00
parent 2bacea7ad9
commit 0c9931d73a
2 changed files with 7 additions and 1 deletions

View File

@ -90,3 +90,8 @@ alias gw-importOfficeData-in-docker-compose='
docker-compose -f etc/docker-compose.yml down &&
docker-compose -f etc/docker-compose.yml up -d && sleep 10 &&
time gw-importHostingAssets'
if [ ! -f .environment ]; then
cp .tc-environment .environment
fi
source .environment

View File

@ -2,6 +2,7 @@ unset HSADMINNG_POSTGRES_JDBC_URL # dynamically set, different for normal tests
export HSADMINNG_POSTGRES_ADMIN_USERNAME=admin
export HSADMINNG_POSTGRES_ADMIN_PASSWORD=
export HSADMINNG_POSTGRES_RESTRICTED_USERNAME=restricted
export HSADMINNG_SUPERUSER=superuser-alex@hostsharing.net
export HSADMINNG_MIGRATION_DATA_PATH=migration
export LANG=de_DE.UTF-8
export LIQUIBASE_CONTEXT=
export LANG=en_US.UTF-8