Issue Description
The current integration test suite for the task update API (PATCH /v1/tasks/{taskId}) is not comprehensive. We need to add more test cases to cover various scenarios and ensure the endpoint is robust and reliable. This will help prevent regressions and bugs in the future.
Missing Test Cases
The following integration test cases are missing for the update task endpoint:
Payload Validation:
Partial Updates:
Authentication:
Field Specific:
Acceptance Criteria
Additional Information
This ticket was created based on the suggestion from @AnujChhikara to improve the test coverage for the task update functionality.
Issue Description
The current integration test suite for the task update API (
PATCH /v1/tasks/{taskId}) is not comprehensive. We need to add more test cases to cover various scenarios and ensure the endpoint is robust and reliable. This will help prevent regressions and bugs in the future.Missing Test Cases
The following integration test cases are missing for the update task endpoint:
Payload Validation:
priority(e.g.,ULTRA_HIGH) andstatus(e.g.,ARCHIVED).dueAtwith a valid datetime string.dueAtwith an invalid datetime format.createdAt).Partial Updates:
title.status.labels.Authentication:
Field Specific:
assignee.Acceptance Criteria
todo/tests/integration/test_task_update_api.py.Additional Information
This ticket was created based on the suggestion from @AnujChhikara to improve the test coverage for the task update functionality.