forked from aws-amplify/amplify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fixing DDB E2E tests (aws-amplify#8707)
* test: fixing DDB E2E tests * test: fix ddb import e2e test Co-authored-by: Ghosh <[email protected]>
- Loading branch information
1 parent
28f4b55
commit c477d48
Showing
5 changed files
with
36 additions
and
32 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...storage/src/provider-utils/awscloudformation/service-walkthroughs/dynamoDb-walkthrough.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
export function overrideProps(props: any) { | ||
export function override(props: any) { | ||
props.dynamoDBTable.streamSpecification = { | ||
streamViewType: 'NEW_AND_OLD_IMAGES', | ||
}; | ||
return props; | ||
} |
13 changes: 5 additions & 8 deletions
13
packages/amplify-e2e-tests/overrides/override-storage-s3.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
|
||
export function overrideProps(props: any) { | ||
//Enable versioning on the bucket | ||
props.s3Bucket.versioningConfiguration = { | ||
status : "Enabled" | ||
} | ||
return props; | ||
export function override(props: any) { | ||
//Enable versioning on the bucket | ||
props.s3Bucket.versioningConfiguration = { | ||
status: 'Enabled', | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters