Environment:
Windows 11 Home
Chrome 114.0.5735.91 (Official buid) (64-bit)
GreenCityDocker-3 is built and running.
Reproducible: always.
Pre-conditions:
User is logged in as Admin
Steps to reproduce
Select the “Category Controller” section.
Select the method POST/category.
Add the request body with the JSON data (e.g { "name": "string2", "nameUa": "string2", "parentCategoryId": 0} )
Send the request.
Compare the returned response code with the list of documented response codes.
Actual result:
Response 200 (OK) is documented in the list of the response codes for the method POST /category of the Category Controller section
Expected result:
Response 201 (Created) is documented in the list of the response codes for the method POST /category of the Category Controller section
Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.
Reproducible: always.
Pre-conditions: User is logged in as Admin
Steps to reproduce
Actual result: Response 200 (OK) is documented in the list of the response codes for the method POST /category of the Category Controller section
Expected result: Response 201 (Created) is documented in the list of the response codes for the method POST /category of the Category Controller section
User story and test case links