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
[API.UBS.Save address] The 500 status code is displayed when unauthorized user save the address. #5460
Fill in the request ''Body''
{
"addressComment": "string",
"district": "string",
"districtEn": "string",
"entranceNumber": "string",
"houseCorpus": "string",
"houseNumber": "string",
"region": "string",
"regionEn": "string",
"searchAddress": "string"
}
3.Click 'Send' button to send request
Observe the 500 status code.
Actual result
The system returns the 500 status code if the unauthorized User saves order addresses.
Expected result
The system returns the 401 status code if the unauthorized User saves order addresses.
Environment: Windows 10 Pro 21H2 Google Chrome 109.0.5414.75
Reproducible: always Build found: 13/03/2023
Preconditions:
Steps to reproduce
3.Click 'Send' button to send request
Actual result The system returns the 500 status code if the unauthorized User saves order addresses. Expected result The system returns the 401 status code if the unauthorized User saves order addresses.
User story and test case links E.g.: "User story #2199 [Test case] https://jira.softserve.academy/browse/GC-5642