9a9ce9fd

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Consolidate handler test helpers (#241)

Move shared handler test doubles and setup helpers into handlers/helpers_test.go.
Reuse the common fake session manager, media source, test server builders, and user insertion helper across auth and login tests.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/241

Suite timing

Time to Start Worker time Duration Time to finish
Config 1s 7s 7s 9s
Eval 7s 37s 37s 45s
Build 12s 56s 16s 29s
Test - - - -
Deploy - - - -
Suite 1s 1m41s 43s 45s

Timeline

0s10s20s30s40s