Skip to content

Commit e432c2d

Browse files
committed
More fixes
1 parent 703a796 commit e432c2d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/acceptance-tests/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ runs:
8080
- name: Run test - ${{ inputs.testType }}
8181
if: ${{ inputs.testType != 'e2e' || steps.check_proxy_deployed.outputs.proxy_deployed == 'true'}}
8282
shell: bash
83+
env: TARGET_ENVIRONMENT: ${{ inputs.targetEnvironment }}
8384
run: |
8485
make test-${{ inputs.testType }}

tests/constants/api-constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export const SUPPLIER_LETTERS = "letters";
22
export const SUPPLIER_API_URL_SANDBOX =
33
"https://internal-dev-sandbox.api.service.nhs.uk/nhs-notify-supplier";
44
export const AWS_REGION = "eu-west-2";
5-
export const envName = process.env.TARGET_ENVIRONMENT;
5+
export const envName = process.env.TARGET_ENVIRONMENT ?? "main";
66
export const API_NAME = `nhs-${envName}-supapi`;
77
export const LETTERSTABLENAME = `nhs-${envName}-supapi-letters`;
88
export const SUPPLIERID = "TestSupplier1";

0 commit comments

Comments
 (0)