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

[Eco-news, GET /econews/tags/all] 200 response on code language 'RU' request #21

Open
nina279 opened this issue Sep 11, 2023 · 0 comments

Comments

@nina279
Copy link
Collaborator

nina279 commented Sep 11, 2023

Environment:

  • macOS Ventura Version 13.4 (22F66)
  • Chrome Version 116.0.5845.179 (Official Build) (arm64)

Reproducible: always.

Preconditions:
GreenCityDocker-3 is built and running

Steps to reproduce:

  1. Select section “eco-news-controller”.
  2. Select method GET/econews/tags/all.
  3. Set for lang parameter code language 'RU'.
  4. Send the request.
  5. Compare the returned response with the actual one.

Actual result:
Response code 200 and 'RU' string content in response body arrays

Expected result:
Response code 400 Bad Request or 404 Not Found and response body {"message": "Select correct language: 'en' or 'ua'"} is sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant