fa38f66e

Author: Michael Lynch <git@mtlynch.io>

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

Decouple upload handler tests from the media service (#418)

Replace the real media service and processor test doubles with a
testMediaPublisher that implements handlers.MediaPublisher, so upload
handler tests exercise only the handler's own behavior.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

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

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 28s 28s 31s 2s
Eval 27s 1m06s 1m09s 1m37s 32s
Build - - - - -
Suite 2s 1m35s 1m34s 1m37s 35s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s