SummerSchoolAcademy2022 / SS-BackEnd

1 stars 0 forks source link

UPDATE basket #20

Open FlorentinaCraciun opened 2 years ago

FlorentinaCraciun commented 2 years ago

Context: Please create the functionality that allows the application to "UPDATE" the basket

User Story: As a user, I want my application to have the functionality to UPDATE the basket so that I can change the information in there

Acceptance Criteria: Scenario 1- Update basket - 200 OK

GIVEN a frontend app made a request to BE Platform AND a call is made to PATCH /baskets/{basketId} endpoint WHEN the basket has all the mandatory fields THEN the platform will update the basket in the database

Sceanrio 2- Update basket - 400 Bad Request

GIVEN a frontend app made a request to BE Platform AND a call is made to PATCH /baskets/{basketId} endpoint WHEN the product hasn't all the mandatory fields THEN the platform will return 400

Scenario 3- Update basket - 404 Not Found

GIVEN a frontend app make a request to BE Platform AND a call is made to GET /baskets/{basketId} endpoint WHEN the product doesn't exist in the database THEN the platform will return 404 Not Found

lcobzaru commented 2 years ago

ataseaza te rog pull request-ul pentru acest ticket

anamaria1-png commented 2 years ago

Imi pare rau pentru raspunsul intarzit, ieri nu am putut intra deloc.Cum as putea sa atestez pull request-ul?

Pe luni, 8 august 2022, 10:24:00 EEST, lcobzaru ***@***.***> a scris:  

ataseaza te rog pull request-ul pentru acest ticket

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>