Wong-Jia-Jun / devops-capstone-project

Apache License 2.0
0 stars 0 forks source link

Update Customer Account Information #3

Open Wong-Jia-Jun opened 3 months ago

Wong-Jia-Jun commented 3 months ago

As a user I need to update customer/my account information in the service So that I can ensure the/my account details are current and accurate

Details and Assumptions

* An endpoint exists to update account information by account ID.
* The endpoint allows updating fields like names and addresses.
* Proper validation is implemented for input data.
* Changes are saved in the database.
* Unit tests cover the functionality.    

Acceptance Criteria

gherkin 
Given valid account ID and updated information
When I send a request to the update account endpoint
Then the account information should be updated in the database

Given invalid account ID or incorrect update data
When I send a request to the update account endpoint
Then I should receive an error message indicating the issue