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

Cover list of controllers and handlers with tests #960

Open
Oleh-Kril opened this issue Oct 25, 2023 · 0 comments
Open

Cover list of controllers and handlers with tests #960

Oleh-Kril opened this issue Oct 25, 2023 · 0 comments
Assignees
Labels

Comments

@Oleh-Kril
Copy link
Contributor

Oleh-Kril commented Oct 25, 2023

Description

  1. Write integration tests for the following endpoints in the listed controllers.
  2. Write unit tests for the corresponding handlers.
  3. Identify and fix any issues flagged by SonarQube rules within the provided directories.

EmailController

  1. POST / - Send

StatisticRecordController

  1. GET / - GetAll
  2. GET /{id:int} - GetByQrId
  3. GET /{id:int} - ExistByQrId
  4. GET /{id:int} - GetAllByStreetcodeId
  5. POST / - Create
  6. PUT /{id:int} - Update
  7. DELETE /{id:int} - Delete

InstagramController

  1. GET / - GetAll

UsersController

  1. GET /api/Users/GetByUserName - GetByUserName
  2. GET /api/Users/GetOtherUserByUserName/{userName} - GetOtherUserByUserName
  3. PUT /api/Users/Update - Update
  4. DELETE /api/Users/Delete/{email} - Delete
  5. POST /api/Users/ForgotPassword - ForgotPassword
  6. POST /api/Users/UpdateForgotPassword - UpdateForgotPassword

ExpertisesController

  1. GET / - GetAll
@malyna2 malyna2 moved this to Sprint backlog in StreetCode Oct 31, 2023
@Adeodonne Adeodonne moved this from New to 📋 Backlog in StreetCode Feb 7, 2024
@YuliiaAndreieva YuliiaAndreieva moved this from 📋 Backlog to ✍Planned in StreetCode Jan 22, 2025
@YuliiaAndreieva YuliiaAndreieva changed the title Cover controllers with integration tests, coverage >= 80% Cover list of controllers and handlers with tests Jan 23, 2025
@YaroslavRosnovskyi YaroslavRosnovskyi moved this from ✍Planned to 🏗 In progress in StreetCode Jan 27, 2025
@YaroslavRosnovskyi YaroslavRosnovskyi moved this from 🏗 In progress to 👀PR in StreetCode Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 👀PR
Development

No branches or pull requests

2 participants