reject empty schedule_days with 422
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
## Task 15: Invalid Schedule Days — Should reject invalid day abbreviations with 422
|
||||
|
||||
**Test Result:** FAIL — `Url: http://127.0.0.1:8765/api/scheduler/config Expected status: 422 != 200`
|
||||
|
||||
**Instructions:**
|
||||
The `Invalid Schedule Days` API test sends invalid day abbreviations and expects a `422 Unprocessable Entity`, but the server returns `200 OK`. Review the scheduler config validation for `schedule_days`. The endpoint should reject invalid day values and return 422.
|
||||
|
||||
---
|
||||
|
||||
## Task 16: Empty Schedule Days — Should reject empty schedule_days with 422
|
||||
|
||||
**Test Result:** FAIL — `Url: http://127.0.0.1:8765/api/scheduler/config Expected status: 422 != 200`
|
||||
|
||||
Reference in New Issue
Block a user