StreetCode
StreetCode copied to clipboard
[TC][Admin/Main StreetCode block][API] Verify that Admin is unable to create "History-код" if the image fields are missing (API via Postman).
Priority: High
Preconditions
- Open Postman and login as Admin;
- Create method POST with next endpoint: " https://backend.historycode.online/api/Streetcode/Create ";
- Open test case: # 2668 take the request body as an example.
Steps to reproduce
- Leave fields for image empty;
- Run the request.
Expected result 400 Bad Request and "message": "Поле "Зображення" не може бути пустим".
Postconditions Delete "History-код" and images that were created.
User story: #115
Related bug: