diff --git a/backend/tests/api_syntheses_test.rs b/backend/tests/api_syntheses_test.rs index 9cecfb7..4491ec4 100644 --- a/backend/tests/api_syntheses_test.rs +++ b/backend/tests/api_syntheses_test.rs @@ -627,15 +627,21 @@ async fn generate_pipeline_resolves_model_from_admin_config() { // Configure user settings with provider and categories let settings = serde_json::json!({ + "theme": "Intelligence Artificielle", + "max_age_days": 7, "categories": ["Test Category"], - "ai_provider": "openai", - "ai_model": "", - "ai_model_websearch": "", + "max_items_per_category": 4, + "max_articles_per_source": 3, "use_llm_for_source_links": false, "use_brave_search": false, - "use_llm_for_article_extraction": false, "article_history_days": 90, - "batch_size": 5 + "batch_size": 5, + "search_agent_behavior": "", + "ai_provider": "openai", + "ai_model": "", + "ai_model_websearch": "", + "rate_limit_max_requests": null, + "rate_limit_time_window_seconds": null }); let (settings_status, _) = app .put_with_session("/api/v1/settings", &settings, &session)