Skip to content

Commit

Permalink
Added in integration test dummy values. Won't work as not all are rea…
Browse files Browse the repository at this point in the history
…l resources
  • Loading branch information
emmetdev committed Nov 7, 2024
1 parent cdf7649 commit 1452f8f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/functional_tests_fixtures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,20 @@ def apply_fixtures():
export REQUEST_BIN_API_TOKEN={request_bin_api_token}
# Exporting for integration tests: TODO ACTUALLY GENERATE THESE - THEY WON'T WORK
export API_CLIENT_INTEGRATION_TESTS_SERVICE_ID='{service.id}'
export API_CLIENT_INTEGRATION_TESTS_EMAIL='{service_admin_user.email_address}'
export API_CLIENT_INTEGRATION_TESTS_NUMBER=07700900501
export API_CLIENT_INTEGRATION_TESTS_EMAIL_TEMPLATE_ID={template1_id}
export API_CLIENT_INTEGRATION_TESTS_SMS_TEMPLATE_ID={template2_id}
export API_CLIENT_INTEGRATION_TESTS_LETTER_TEMPLATE_ID={template3_id}
export API_CLIENT_INTEGRATION_TESTS_EMAIL_REPLY_TO_ID=tba-41ef-43cd-a04a-tba
export API_CLIENT_INTEGRATION_TESTS_SMS_SENDER_ID=tba-c52f-4648-abb6-tba
export API_CLIENT_INTEGRATION_TESTS_NOTIFY_API_URL={current_app.config['API_HOST_NAME']}
export API_CLIENT_INTEGRATION_TESTS_TEST_API_KEY='{function_tests_live_key_name}-{service.id}-{api_key_live_key.secret}'
export API_CLIENT_INTEGRATION_TESTS_TEAM_API_KEY='{function_tests_live_key_name}-{service.id}-{api_key_live_key.secret}'
export API_CLIENT_INTEGRATION_TESTS_INBOUND_SMS_API_KEY='{function_tests_live_key_name}-{service.id}-{api_key_live_key.secret}'
"""

if functional_test_env_file != "":
Expand Down

0 comments on commit 1452f8f

Please sign in to comment.