From e3f6e6fadde19e6a27b26096cd61e53b95c5fafb Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 18 May 2026 21:47:45 -0400 Subject: [PATCH] fix(test): artist_service _fixture sets artist_id (post-vii-c ArtistService reads it) Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/test_artist_service.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_artist_service.py b/tests/test_artist_service.py index 10d64fc..9858af9 100644 --- a/tests/test_artist_service.py +++ b/tests/test_artist_service.py @@ -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()