[API] [Friend list] [/friends/not-friends-yet] The response has users instead of an empty array when entering a non-existent user #6398
Labels
API
back-end
This is label if this task is back-end
Bug
Friend list
Functional
My habits
Epic
My space
Pri: medium
Sev: major
Environment: Windows 10 Pro, Postman
Reproducible: always
Build found: 23.09.2023
Preconditions
The user is logged in, and the token is gotten.
There is no user with a name (e.g. name: '!"№;%:?*()₴~')
Steps to reproduce
(e.g. {parameter}: '!"№;%:?*()₴~')
Actual result
The status code is 200 OK. There are users in the response.
Expected result
The status code is 200 OK. The response has an empty array.
User story and test case links
E.g.: "User story #1003
The text was updated successfully, but these errors were encountered: