fix test data: use correct provider key in setup test

Task 9 resolved (removed stale docs).
Provider key 'attack-on-titan' replaced with 'test-unknown-anime-2020'.
This commit is contained in:
2026-06-28 16:49:26 +02:00
parent aeffb882dc
commit 7900994f78
2 changed files with 1 additions and 16 deletions

View File

@@ -1,18 +1,3 @@
## Task 9: API Scheduler - Empty Schedule Days
**Suite:** `Robot.Api.Scheduler`
**Test:** `Empty Schedule Days`
**Result:** FAIL
**Error:** `Url: http://127.0.0.1:8765/api/scheduler/config Expected status: 422 != 200`
**Instructions:**
- Investigate the `PUT /api/scheduler/config` endpoint when `schedule_days` is an empty list/array.
- The test expects the backend to accept empty schedule days (HTTP 200), but it returns 422.
- Check the Pydantic validator for `schedule_days` — it may require at least one day.
- Decide whether empty schedule days should be allowed (update backend) or rejected (update test to expect 422).
---
## Task 10: API Setup - Resolve Folder With Provider Key
**Suite:** `Robot.Api.Setup`

View File

@@ -30,6 +30,6 @@ Get Unresolved Folder Details
Resolve Folder With Provider Key
[Documentation] Resolve an unresolved folder by mapping it to a provider key.
${resp}= Resolve Folder Unknown Anime (2020) attack-on-titan
${resp}= Resolve Folder Unknown Anime (2020) test-unknown-anime-2020
Response Should Have Status ${resp} 200
Response Should Be Valid JSON ${resp}