The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
65
stars
80
forks
source link
[Pick-up City. UBS Order. API Client Controller] The amount of order with partial payment after GET request 'getAll-users-orders' doesn't match order amount in User's account #7140
Actual result
Status 200 OK is received in the response. The order 'amount' value in the response doesn't match the order amount value in the User's profile
Expected result
Status 200 OK is received in the response. The order 'amount' value in the response match the order amount value in the User's profile
Endpoint indeed calculated wrong amount for user to pay, and as it is not used, it was decided to delete it from project.
The other endpoint from 'Your orders' page shows correct amount left to pay and initial payment sum.
Environment: Windows 11 Pro, Chrome 122.0.6261.131 Reproducible: always Build found: 13 May 2024 (prod)
Preconditions
Steps to reproduce
Actual result Status 200 OK is received in the response. The order 'amount' value in the response doesn't match the order amount value in the User's profile
Expected result Status 200 OK is received in the response. The order 'amount' value in the response match the order amount value in the User's profile
User story and test case links Swagger