StreetCode
StreetCode copied to clipboard
[API][Related figure] The response to link streetcodes is 200 OK, but they have already been linked
trafficstars
Environment: all Reproducible: always Build found: c648525
Preconditions
- Open Postman.
- Choose the POST method.
- Enter valid endpoints.
Steps to reproduce 1.1. Add valid data for existing and unlinked streetcodes, such as 1045&1043. 1.2. Send request.
- Send the request a second time.
3.1. Change the ID sequence in the request to 1043&1045. 3.2. Send the request.
Actual result
- Response - 200 OK.
- Response - 200 OK.
- Response - 200 OK.
Expected result
- Response - 200 OK.
- Response - 400 Bad request "The streetcodes are already linked".
- Response - 400 Bad request "The streetcodes are already linked".
User story: #40