Skip to content

Commit

Permalink
Merge pull request #1296 from alphagov/add-test-environment.sh
Browse files Browse the repository at this point in the history
Add test environment.sh
  • Loading branch information
kentsanggds authored Aug 14, 2024
2 parents cc91ade + d26f378 commit 91ab695
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
16 changes: 0 additions & 16 deletions bin/setup-docker-test.sh

This file was deleted.

8 changes: 0 additions & 8 deletions bin/setup-docker.sh

This file was deleted.

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 91ab695

Please sign in to comment.