From 4ca74433ac43a26bd6b501b3fa9ee114a3f75497 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 30 Aug 2024 08:46:32 +0200 Subject: [PATCH] fix running tests from command-line via gw-test --- .aliases | 5 +++++ .tc-environment | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.aliases b/.aliases index 705dbe38..f50f6247 100644 --- a/.aliases +++ b/.aliases @@ -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 diff --git a/.tc-environment b/.tc-environment index 4261068b..ecc6dc9a 100644 --- a/.tc-environment +++ b/.tc-environment @@ -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