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

Тренировка не создается, если в steps_num вводишь неверный формат данных ("1250") при отправке POST /trainings/ #86

Open
qase-testops bot opened this issue Aug 31, 2023 · 1 comment

Comments

@qase-testops
Copy link

qase-testops bot commented Aug 31, 2023

Шаги для воспроизведения:

  1. Отправить POST на /trainings/
  2. В теле указать:
    {
      "training_type": "Велопрогулка",
      "started_at": "2023-07-27T19:39:13.906516+03:00",
      "finished_at": "2023-07-27T19:39:13.906516+03:00",
      "distance": 2.8,
      "steps_num": "1250"
    }

Ожидаемый результат: Тренировка не создается, если в steps_num вводишь неверный формат данных ("1250") при отправке POST /trainings/
Фактический результат: Тренировка создается, если в steps_num вводишь неверный формат данных ("1250") при отправке POST /trainings/
Окружение: https://easyfit.space/
Приоритет: степень серьезности бага - средний, приоритет - средний

@qase-testops
Copy link
Author

qase-testops bot commented Aug 31, 2023

Defect (D-116) was moved to status 'Open'

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

No branches or pull requests

0 participants