Skip to content

Commit

Permalink
Addressed Github issue #1133
Browse files Browse the repository at this point in the history
  • Loading branch information
meta-paul committed Apr 5, 2024
1 parent 1eb97a8 commit 5dbe02d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
21 changes: 10 additions & 11 deletions docker/envs/env.dev
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# Uncomment and paste Prolific credentials here if you're using Prolific provider
# PROLIFIC_API_KEY="..."
# Paste Prolific credentials here if you're using Prolific provider
PROLIFIC_API_KEY=your_key

# Uncomment and paste Mturk credentials here if you're using Mturk sandbox provider
# MTURK_SANDBOX_NAME="..."
# MTURK_SANDBOX_ACCESS_KEY_ID="..."
# MTURK_SANDBOX_SECRET_ACCESS_KEY="..."
# MTURK_SANDBOX_NAME=your_name
# MTURK_SANDBOX_ACCESS_KEY_ID=your_id
# MTURK_SANDBOX_SECRET_ACCESS_KEY=your_key

# Uncomment and paste AWS credentials here if you're using presigned S3 URLs
# AWS_ACCESS_KEY_ID=...
# AWS_SECRET_ACCESS_KEY=...
# AWS_DEFAULT_REGION=...
#
# S3_URL_EXPIRATION_MINUTES=60
# Paste AWS credentials here if you're using presigned S3 URLs
AWS_ACCESS_KEY_ID=your_id
AWS_SECRET_ACCESS_KEY=your_key
AWS_DEFAULT_REGION=us-east-1
S3_URL_EXPIRATION_MINUTES=60

CYPRESS_CACHE_FOLDER=/tmp
5 changes: 3 additions & 2 deletions test/generators/form_composer/config_validation/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@ def test_get_s3_presigned_url_success(self, mock_generate_presigned_url, *args,
"ResponseContentType": content_type,
},
},
"S3Express": {
"bucket_name": s3_bucket,
"input_params": {
"Bucket": s3_bucket,
"Key": s3_key,
},
"auth_type": "v4",
"signing": {
Expand Down
5 changes: 3 additions & 2 deletions test/generators/form_composer/test_remote_procedures.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ def test__get_presigned_url_success(self, mock_generate_presigned_url, *args, **
"ResponseContentType": content_type,
},
},
"S3Express": {
"bucket_name": s3_bucket,
"input_params": {
"Bucket": s3_bucket,
"Key": s3_key,
},
"auth_type": "v4",
"signing": {
Expand Down

0 comments on commit 5dbe02d

Please sign in to comment.