test(filename_audit): seed library 2 before its image_exif row (#151) #154

Merged
cameron merged 1 commits from fix/filename-audit-test-fk into master 2026-09-30 01:53:21 +00:00
1 Commits
Author SHA1 Message Date
Cameron CordesandClaude Opus 5.5 8a5a7c19d7 test(filename_audit): seed library 2 before its image_exif row (#151)
run_audit_skips_disabled_and_offline_libraries inserted an image_exif
row for library 2, which migrations never create, tripping the
image_exif.library_id foreign key. Insert the libraries row first so
the suite is green on master again.

Also fix the cmp_owned clippy warning in the filename_audit bin.

Closes #151

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 21:31:53 -04:00