bcd9ca85

By: Michael Lynch <git@mtlynch.io>

Merge media delete tests and assert exact deleted filenames and remaining IDs

Merge TestMediaDeleteRequiresOwnerAndDeletesMedia into TestOwnerDeletesMedia
(renamed to TestMediaDelete) so a single table-driven test exercises the
handler through the real media.Service, covering owner/subscriber
authorization, unknown/invalid IDs, and successful deletion in one place.

Assert the specific file store filenames and database media IDs affected by
each case instead of just counts, and add MustCreateFileID to little_moments
so tests can build a FileID without repeating error-handling boilerplate.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 12s 12s 14s 2s
Eval 9s 29s 29s 38s 0s
Build 25s 7m36s 1m31s 1m56s 0s
Suite 2s 8m17s 1m54s 1m56s 2s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s