You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JobController currently lacks an endpoint for updating a job, preventing modifications to existing job records.
Expected Behavior
The JobController should provide an endpoint that allows updating job details based on job ID.
Acceptance Criteria
Update job by ID
The API should accept a valid job ID and updated job details.
The system should update the job information accordingly.
If the job ID does not exist, an appropriate error response should be returned.
Unit Tests
Test 1: Update job with valid ID
Test method: testUpdateJob_ValidId
Test data: Valid job ID and updated job details
Expected result: Job information is successfully updated
Test 2: Update job with invalid ID
Test method: testUpdateJob_InvalidId
Test data: Non-existent job ID
Expected result: Error response indicating job not found
Test 3: Update job with invalid data
Test method: testUpdateJob_InvalidData
Test data: Valid job ID with incomplete/invalid fields
Expected result: Validation error response
The text was updated successfully, but these errors were encountered:
emmanuelTwumasi
changed the title
[Feat] Implement an endpoint for Searching or filtering a blog post
[Feat] Implement endpoint for Updating a job
Feb 27, 2025
Description
The JobController currently lacks an endpoint for updating a job, preventing modifications to existing job records.
Expected Behavior
The JobController should provide an endpoint that allows updating job details based on job ID.
Acceptance Criteria
Update job by ID
Unit Tests
Test 1: Update job with valid ID
Test 2: Update job with invalid ID
Test 3: Update job with invalid data
The text was updated successfully, but these errors were encountered: