Skip to content

Commit 57faed3

Browse files
committed
fix ownership issue with tests and S3
1 parent 73f321b commit 57faed3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/automated_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def remove():
6060
# routing rules with "replaceKeyWith" se to empty string
6161
os.system("cp ./config_files/routing-rules-redirect.yml ./serverless.yml")
6262
os.system("sls client deploy --no-confirm")
63-
res = s3.get_bucket_website(Bucket='sls-finch-test-routing-use1')
63+
res = s3.get_bucket_website(Bucket='sls-finch-test-routing-use1-test-v2')
6464
if res['RoutingRules'][0]["Redirect"]['ReplaceKeyWith'] != '':
6565
raise Exception("Isn't setting ReplaceKeyWith with an empty string")
6666
else:

test/config_files/routing-rules-redirect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins:
99

1010
custom:
1111
client:
12-
bucketName: sls-finch-test-routing-use1
12+
bucketName: sls-finch-test-routing-use1-test-v2
1313
indexDocument: index.html
1414
errorDocument: error.html
1515
routingRules:

0 commit comments

Comments
 (0)