chore: unused parameters in three test helpers

Open
#2,134 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Wikid82 is already working on this.

Since Dec 3, 2026.

Assessment

This issue has not been assessed yet.

Description

backend low security testing

`make lint-fast` (unparam) flags unused parameters in three pre-existing test helpers, unrelated to any in-flight work:

  • `backend/internal/api/handlers/security_handler_breakglass_test.go:44` (`serveSecurityPost`)
  • `backend/internal/api/middleware/auth_rate_limit_test.go:575` (`accountPasswordHarness`)
  • `backend/internal/services/row_restore_test.go:26` (`seedRuleSet`)

Suggested approach: remove or use the unused parameters in each helper's signature so `make lint-fast` is clean.

Found while implementing B8-04 (branch `fix/notification-delivery`), not touched by that work.

Dominant language
Go
Stars
17
Forks
2
Avg merge
1h 42m
Merged PRs (30d)
173

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Wikid82/Charon

All issues in Wikid82/Charon

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.