Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API/GET/api/club-registration/user-applications] Status code 200 instead of 404 when user is invalid #2151

Open
Ytrygub opened this issue Jan 21, 2024 · 0 comments

Comments

@Ytrygub
Copy link

Ytrygub commented Jan 21, 2024

Environment: Windows 10 Pro Version 22H2
Version 120.0.6099.225 (Official Build) (64-bit)
Reproducible: always
Build found:
front 2024-01-04 d5b9ee
back 2024-01-04 7dd789

Preconditions

  1. Site http://speak-ukrainian.eastus2.cloudapp.azure.com/dev/ is opened.
  2. Method: GET
  3. Endpoint: /api/club-registration/user-applications/{userId}
  4. Token in Postman is received (as for User)

Steps to reproduce

  1. Go to Postman
  2. Create GET request
  3. Use invalid value (e.g. -11111111111) instead of {userId}
  4. Click 'SEND' button

Actual result
Status code '200 OK'

image
image

Postconditions
'404 Not Found' status code and message 'User ID is not found' should appear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Status: ToDo
Development

No branches or pull requests

1 participant