ita-social-projects / ita-social-projects/StreetCode_Client

Cover Media and Jobs controllers and handlers with tests

Open
#959 0 comments 0 reactions 3 assignees Claimed by @IceStorman View on GitHub
tests
Dominant language
TypeScript
Stars
15
Forks
10
PR merge metrics
No merged PRs in 30d

Description

### 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.

JobController
1. GET / - Get All Jobs
2. GET / - Get All Short Jobs
3. GET / - Get Active Jobs
4. GET /{id:int} - Get Job By ID
5. DELETE /{id:int} - Delete Job
6. PUT / - Update Job
7. PUT / - Change Job Status

ImageController
1. GET /{id:int} - GetBaseImage
2. POST / - Create
3. PUT / - Update
4. DELETE /{id:int} - Delete

StreetcodeArtController
1. GET /{streetcodeId:int} - GetPageByStreetcodeId

StreetcodeArtSlideController
1. GET /{streetcodeId:int} - GetPageByStreetcodeId
2. GET /{streetcodeId:int} - GetAllCountByStreetcodeId

AudioController
1. GET /{id:int} - GetBaseAudio
2. POST / - Create
3. PUT / - Update
4. DELETE /{id:int} - Delete

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.