From 2822baf50d22b598a9cc7d4a4f5e1490cd12c794 Mon Sep 17 00:00:00 2001 From: oabrivard Date: Sat, 28 Mar 2026 22:39:11 +0100 Subject: [PATCH] fix: add theme_id to preferred sources pipeline test Co-Authored-By: Claude Opus 4.6 (1M context) --- backend/tests/pipeline_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/pipeline_test.rs b/backend/tests/pipeline_test.rs index 11413f9..8bf552e 100644 --- a/backend/tests/pipeline_test.rs +++ b/backend/tests/pipeline_test.rs @@ -634,7 +634,7 @@ async fn preferred_sources_processed_first() { assert!(status_b.is_success(), "Source B creation should succeed"); // Mark source A as preferred - let pref_body = serde_json::json!({ "source_ids": [source_a_id] }); + let pref_body = serde_json::json!({ "source_ids": [source_a_id], "theme_id": theme_id }); let (pref_status, _) = app .put_with_session("/api/v1/sources/preferred", &pref_body, &session) .await;