aboutsummaryrefslogtreecommitdiff
path: root/hotline/test
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2026-07-10 09:45:04 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2026-07-10 09:48:18 -0700
commitf50aad709075c1f06bfc7285c3185382dfcdcf20 (patch)
treef709b2e312505b51236cabea0b06adec265913f7 /hotline/test
parent21f24d24fd6f501b32f15a2bef41c89cc461f623 (diff)
Move testify mocks out of production files into hotline/hltest
The manager mocks lived in production source so that internal/mobius tests could import them (test files are not importable across packages), which pulled testify into the production dependency graph of hotline importers, counted the mocks against coverage, and put them in the library's godoc. They now live in hotline/hltest, an httptest-style test-support package. The hotline package's own in-package tests cannot import hltest (import cycle), so the mocks they use are duplicated in mocks_test.go; conformance assertions in both files catch signature drift. MockAccountManager was only ever used inside internal/mobius and moves to a _test.go file there.
Diffstat (limited to 'hotline/test')
0 files changed, 0 insertions, 0 deletions