diff --git a/environment_test.sh b/environment_test.sh index 34ac45073..010810394 100644 --- a/environment_test.sh +++ b/environment_test.sh @@ -10,7 +10,7 @@ export INVITATION_EXPIRATION_DAYS=2 export NOTIFY_JOB_QUEUE='notify-jobs-queue-test' export NOTIFICATION_QUEUE_PREFIX='notification_development-test' export SECRET_KEY='secret-key' -export SQLALCHEMY_DATABASE_URI='postgresql://localhost/test_notification_api' +export SQLALCHEMY_DATABASE_URI=${TEST_DATABASE:='postgresql://localhost/test_notification_api'} export VERIFY_CODE_FROM_EMAIL_ADDRESS='no-reply@notify.works' export FIRETEXT_API_KEY="Firetext" export NOTIFY_EMAIL_DOMAIN="test.notify.com" @@ -23,4 +23,4 @@ export STATSD_PORT=1000 export STATSD_PREFIX="stats-prefix" export API_HOST_NAME="http://localhost:6011" export FROM_NUMBER='from_number' -export MMG_URL="https://api.mmg.co.uk/json/api.php" \ No newline at end of file +export MMG_URL="https://api.mmg.co.uk/json/api.php"