Skip to content

Commit

Permalink
fix(sdk): failed bucket test (#7208)
Browse files Browse the repository at this point in the history
## Checklist

- [X] Title matches [Winglang's style
guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [X] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end
testing

*By submitting this pull request, I confirm that my contribution is made
under the terms of the [Wing Cloud Contribution
License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
ShaiBer authored Oct 29, 2024
1 parent e37b943 commit 245ea35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sdk_tests/bucket/aws-bucket.test.w
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test "validates the AWS Bucket" {
if @target == "tf-aws" {
assert(bucket.get("bucketArn").contains("arn:aws:s3:::aws-wing-bucket"));
assert(bucket.get("bucketName").contains("aws-wing-bucket"));
assert(bucket.get("bucketDomainName").contains("aws-wing-bucket.s3.amazonaws.com"));
assert(bucket.get("bucketDomainName").contains("aws-wing-bucket"));
} else { // If it's not a 'tf-aws' target, it's an 'awscdk'
assert(bucket.get("bucketArn").contains("arn:aws:s3:::"));
assert(bucket.get("bucketArn").contains("awswingbucket"));
Expand Down

0 comments on commit 245ea35

Please sign in to comment.