The test previously fetched the attachment from https://vikunja.io/testimage.jpg, which caused flaky failures in CI when the external host was unreachable (context deadline exceeded). Serve the local testimage.jpg via httptest and temporarily allow non-routable IPs for the SSRF-safe client so the test is hermetic and deterministic. |
||
|---|---|---|
| .. | ||
| main_test.go | ||
| todoist.go | ||
| todoist_test.go | ||