Skip to content

Commit

Permalink
Add test-environment.sh to setup test env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
kentsanggds committed Aug 14, 2024
1 parent cc91ade commit de50fe9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test-environment.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit de50fe9

Please sign in to comment.