Replace brittle prose substring assertions in internal/webui/api_tasks_origin_test.go with stable structural checks for HTTP error responses while preserving origin and media-type coverage.
Acceptance criteria
The origin test does not assert human-readable response text; rejected cases verify stable HTTP error response structure; focused tests and task check pass.
Close reason
Verified complete on origin/main: tests green
Imported from beads archie-core-r3gh · GitHub #664 · type task · priority P2 · created 2026-08-31 · closed 2026-09-18
Replace brittle prose substring assertions in internal/webui/api_tasks_origin_test.go with stable structural checks for HTTP error responses while preserving origin and media-type coverage.
### Acceptance criteria
The origin test does not assert human-readable response text; rejected cases verify stable HTTP error response structure; focused tests and task check pass.
### Close reason
Verified complete on origin/main: tests green
---
_Imported from beads `archie-core-r3gh` · GitHub #664 · type task · priority P2 · created 2026-08-31 · closed 2026-09-18_
sam
added the mediumtask labels 2026-10-27 13:40:49 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Replace brittle prose substring assertions in internal/webui/api_tasks_origin_test.go with stable structural checks for HTTP error responses while preserving origin and media-type coverage.
Acceptance criteria
The origin test does not assert human-readable response text; rejected cases verify stable HTTP error response structure; focused tests and task check pass.
Close reason
Verified complete on origin/main: tests green
Imported from beads
archie-core-r3gh· GitHub #664 · type task · priority P2 · created 2026-08-31 · closed 2026-09-18