From de50fe9d8b6699c818986964fb318ad3ef9699e4 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Tue, 13 Aug 2024 15:27:55 +0100 Subject: [PATCH] Add test-environment.sh to setup test env vars --- test-environment.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 test-environment.sh diff --git a/test-environment.sh b/test-environment.sh new file mode 100755 index 00000000..c9ac2950 --- /dev/null +++ b/test-environment.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# source this script before running tests to set the correct env vars +export RAILS_ENV=test +export ES_INDEX=datasets-test +export CKAN_DOMAIN=testdomain