diff --git a/api/tests/src/task/opportunities/test_export_opportunity_data_task.py b/api/tests/src/task/opportunities/test_export_opportunity_data_task.py index 2b4fb444d..d462dbc6c 100644 --- a/api/tests/src/task/opportunities/test_export_opportunity_data_task.py +++ b/api/tests/src/task/opportunities/test_export_opportunity_data_task.py @@ -38,6 +38,10 @@ def test_export_opportunity_data_task( OpportunityFactory.create_batch(size=6, is_archived_forecast_summary=True) ) + # Create some opportunities that won't get fetched / loaded into search + OpportunityFactory.create_batch(size=3, is_draft=True) + OpportunityFactory.create_batch(size=4, no_current_summary=True) + export_opportunity_data_task.run() # Verify some metrics first