From 7440de78d074b364b9244c5e380b1455b20a1a6b Mon Sep 17 00:00:00 2001 From: Dumitru Date: Wed, 4 Oct 2023 16:10:48 +0300 Subject: [PATCH] Update test_notices_metadata_services.py --- .../supra_notice_manager/test_notices_metadata_services.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/supra_notice_manager/test_notices_metadata_services.py b/tests/e2e/supra_notice_manager/test_notices_metadata_services.py index 08f516c2..f1f92064 100644 --- a/tests/e2e/supra_notice_manager/test_notices_metadata_services.py +++ b/tests/e2e/supra_notice_manager/test_notices_metadata_services.py @@ -35,7 +35,7 @@ def test_update_daily_notices_metadata_from_ted(fake_mongodb_client, example_dat def test_update_daily_notices_metadata_with_fetched_data(fake_mongodb_client, fake_notice_repository, example_date, - notice_with_distilled_status, + notice_with_rdf_manifestation, notice_2021): daily_notices_metadata_repo = DailyNoticesMetadataRepository(fake_mongodb_client) @@ -46,11 +46,11 @@ def test_update_daily_notices_metadata_with_fetched_data(fake_mongodb_client, assert daily_notices_metadata_repo.get(example_date) is None - fake_notice_repository.add(notice_with_distilled_status) + fake_notice_repository.add(notice_with_rdf_manifestation) fake_notice_repository.add(notice_2021) daily_notices_metadata: DailyNoticesMetadata = DailyNoticesMetadata(aggregation_date=example_date) - daily_notices_metadata.ted_api_notice_ids.append(notice_with_distilled_status.ted_id) + daily_notices_metadata.ted_api_notice_ids.append(notice_with_rdf_manifestation.ted_id) daily_notices_metadata.ted_api_notice_ids.append(notice_2021.ted_id) daily_notices_metadata_repo.add(daily_notices_metadata)