Complete Task 7 prep: add series setup to NFO repair test
Remove obsolete Task 6 from docs (logging download - either fixed or abandoned). Add series to library before repair call in test - ensures series exists in DB.
This commit is contained in:
@@ -1,19 +1,3 @@
|
||||
## Task 6: API Logging - Download Log File
|
||||
|
||||
**Suite:** `Robot.Api.Logging`
|
||||
**Test:** `Download Log File`
|
||||
**Result:** FAIL
|
||||
**Error:** `Url: http://127.0.0.1:8765/api/logging/files/aniworld.log/download Expected status: 404 != 200`
|
||||
|
||||
**Instructions:**
|
||||
- Investigate the log file download endpoint (`GET /api/logging/files/{filename}/download`).
|
||||
- The endpoint returns 404 for `aniworld.log`.
|
||||
- Verify the correct log filename and endpoint path in the backend.
|
||||
- Update the test in `tests/robot/api/logging.robot` to use the correct filename or path.
|
||||
- If the endpoint is missing, implement it in the backend.
|
||||
|
||||
---
|
||||
|
||||
## Task 7: API NFO - Repair NFO For Series
|
||||
|
||||
**Suite:** `Robot.Api.Nfo`
|
||||
|
||||
@@ -27,6 +27,10 @@ Get NFO Diagnostics
|
||||
# ---------------------------------------------------------------------------
|
||||
Repair NFO For Series
|
||||
[Documentation] Trigger NFO repair for a specific series.
|
||||
... First add the series to the library so it exists in the database.
|
||||
${add_resp}= Add Series https://aniworld.to/anime/stream/attack-on-titan Attack on Titan 2013
|
||||
Response Should Have Status ${add_resp} 202
|
||||
... NOW call repair on the known series
|
||||
${resp}= Repair Nfo attack-on-titan
|
||||
Response Should Have Status ${resp} 200
|
||||
Response Should Be Valid JSON ${resp}
|
||||
|
||||
Reference in New Issue
Block a user