0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-24 07:26:05 +02:00
Brice Ruth 6b074cb3e9
refactor: extract buildRunOptions for better test coverage
- Extract FindRunOptions construction logic from ListRuns into buildRunOptions function
- Update TestListRunsWorkflowFiltering and related tests to use actual production code
- Tests now verify production logic instead of duplicating parameter parsing
- Improved error handling by returning errors instead of direct HTTP responses
- Ensures future changes to parameter parsing are properly tested

This addresses the issue where tests were bypassing production code logic,
making them less reliable for catching regressions.
2025-07-04 10:41:00 -05:00
..
2025-02-17 12:41:03 -08:00