fix(test): artist_service _fixture sets artist_id (post-vii-c ArtistService reads it)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-18 21:47:45 -04:00
parent 80701dabf7
commit e3f6e6fadd
+3
View File
@@ -34,6 +34,9 @@ async def _fixture(db):
path="/images/a/1.jpg", sha256="a" + "0" * 63,
size_bytes=1, mime="image/jpeg", width=4, height=8,
origin="downloaded", integrity_status="unknown",
# FC-2d-vii-c: provenance images also carry the canonical
# artist_id (set by importer/migration); ArtistService reads it.
artist_id=artist.id,
)
db.add(img)
await db.flush()