Skip to content

Commit

Permalink
Change path_fixes to report_fixes
Browse files Browse the repository at this point in the history
Signed-off-by: joseph-sentry <[email protected]>
  • Loading branch information
joseph-sentry committed Oct 23, 2023
1 parent 73f09c4 commit 5726dc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion codecov_cli/services/upload/upload_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
Expand Down
4 changes: 2 additions & 2 deletions tests/helpers/test_upload_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -304,7 +304,7 @@ def test_generate_empty_payload_overall(self):
UploadCollectionResult([], [], []), None
)
expected_report = {
"path_fixes": {
"report_fixes": {
"format": "legacy",
"value": {},
},
Expand Down

0 comments on commit 5726dc4

Please sign in to comment.