StreetCode
StreetCode copied to clipboard
[API][Admin/StreetCode page/Tags] An admin can create a tag with an empty title through the creation or updating of a streetcode
trafficstars
Environment: All Reproducible: Always Build found: 79fb490
Steps to reproduce
- Add all necessary data to the body.
- Leave the title key empty (e.g.:
"tags": [
{ "id": 0, "title": " ", "isVisible": true, "index": 0, "streetcodeId": 1385, "modelState": 0/2 } ], ). - Click the 'Send' button.
Actual result
- The 200 OK status in the response.
- The tag has been created without a title.
Expected result
- The 400 status in the response.
- The "The Title field is required." message in the response.
User story and test case links User story #20