From ced40e91a8556553abf87239a1660365622d8ed0 Mon Sep 17 00:00:00 2001 From: joseph-sentry Date: Fri, 28 Jul 2023 15:41:20 -0400 Subject: [PATCH] Change path_fixes to report_fixes Signed-off-by: joseph-sentry --- codecov_cli/services/upload/upload_sender.py | 2 +- tests/helpers/test_upload_sender.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/codecov_cli/services/upload/upload_sender.py b/codecov_cli/services/upload/upload_sender.py index af9dc7b5..447aa8e4 100644 --- a/codecov_cli/services/upload/upload_sender.py +++ b/codecov_cli/services/upload/upload_sender.py @@ -87,7 +87,7 @@ def _generate_payload( ) -> bytes: network_files = upload_data.network payload = { - "path_fixes": { + "report_fixes": { "format": "legacy", "value": self._get_file_fixers(upload_data), }, diff --git a/tests/helpers/test_upload_sender.py b/tests/helpers/test_upload_sender.py index 26fa5511..75876695 100644 --- a/tests/helpers/test_upload_sender.py +++ b/tests/helpers/test_upload_sender.py @@ -237,7 +237,7 @@ def test_generate_payload_overall(self, mocked_coverage_file): get_fake_upload_collection_result(mocked_coverage_file), None ) expected_report = { - "path_fixes": { + "report_fixes": { "format": "legacy", "value": { "SwiftExample/AppDelegate.swift": { @@ -304,7 +304,7 @@ def test_generate_empty_payload_overall(self): UploadCollectionResult([], [], []), None ) expected_report = { - "path_fixes": { + "report_fixes": { "format": "legacy", "value": {}, },