fix running tests from command-line via gw-test

This commit is contained in:
Michael Hoennig 2024-08-30 08:46:32 +02:00
parent 2bacea7ad9
commit 4ca74433ac
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 down &&
docker-compose -f etc/docker-compose.yml up -d && sleep 10 && docker-compose -f etc/docker-compose.yml up -d && sleep 10 &&
time gw-importHostingAssets' 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_USERNAME=admin
export HSADMINNG_POSTGRES_ADMIN_PASSWORD= export HSADMINNG_POSTGRES_ADMIN_PASSWORD=
export HSADMINNG_POSTGRES_RESTRICTED_USERNAME=restricted export HSADMINNG_POSTGRES_RESTRICTED_USERNAME=restricted
export HSADMINNG_SUPERUSER=superuser-alex@hostsharing.net
export HSADMINNG_MIGRATION_DATA_PATH=migration export HSADMINNG_MIGRATION_DATA_PATH=migration
export LANG=de_DE.UTF-8 export LIQUIBASE_CONTEXT=
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8