aws-samples / retail-demo-store

AWS Retail Demo Store is a sample retail web application and workshop platform demonstrating how AWS infrastructure and services can be used to build compelling customer experiences for eCommerce, retail, and digital marketing use-cases
MIT No Attribution
727 stars 516 forks source link

Fix for integration tests failure #526

Closed gfaires closed 9 months ago

gfaires commented 11 months ago

Temporary fix to pass tests. Removed aliases from required attributes to be returned on Put request. Issue is caused by JSON being read into a dict, rather than a data object. Therefore, as the alias isn't passed in on the PUT, it doesn't get returned in the response since there is no data object or additional logic to default the value.

Issue #, if available:

Description of changes:

Description of testing performed to validate your changes (required if pull request includes CloudFormation or source code changes): Ran integration tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.