Fix backlog refresh test config source #1377

Merged
coilyco-ops merged 1 commit from issue-1371 into main 2026-07-15 09:52:55 +00:00
Member

This change hardens TestBacklogRefreshReservationStates so it uses the repo's own config context instead of inheriting the host WARD_CONFIG_REF. That keeps the reservation TTL aligned with the code under test and makes the backlog refresh mock match the real Forgejo feed shape.

  • closes #1371
  • ward.workflow: pull-request-and-merge
  • tests: go test ./cmd/ward -run 'TestBacklogRefreshReservationStates|TestBacklogReservationState' -count=1
This change hardens `TestBacklogRefreshReservationStates` so it uses the repo's own config context instead of inheriting the host `WARD_CONFIG_REF`. That keeps the reservation TTL aligned with the code under test and makes the backlog refresh mock match the real Forgejo feed shape. - closes #1371 - ward.workflow: pull-request-and-merge - tests: `go test ./cmd/ward -run 'TestBacklogRefreshReservationStates|TestBacklogReservationState' -count=1`
Fix backlog refresh test config source
All checks were successful
test / test (pull_request) Successful in 1m1s
fb9f471eee
Sign in to join this conversation.
No description provided.