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

[Feat] Implement endpoint for Updating a job #681

Open
9 tasks
emmanuelTwumasi opened this issue Feb 27, 2025 · 0 comments
Open
9 tasks

[Feat] Implement endpoint for Updating a job #681

emmanuelTwumasi opened this issue Feb 27, 2025 · 0 comments

Comments

@emmanuelTwumasi
Copy link
Contributor

emmanuelTwumasi commented 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

  1. The API should accept a valid job ID and updated job details.
  2. The system should update the job information accordingly.
  3. 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
@emmanuelTwumasi 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
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

1 participant