Skip to content

Commit

Permalink
Rename argument in get_supplemental_claim_upload
Browse files Browse the repository at this point in the history
- was :uuid, now :guid
- to match get_notice_of_disagreement_upload for easier code sharing and shared testing
  • Loading branch information
kayline committed Nov 18, 2024
1 parent 99252dd commit 228d82c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/decision_review_v1/appeals/supplemental_claim_services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ def put_supplemental_claim_upload(upload_url:, file_upload:, metadata_string:, u
##
# Returns all of the data associated with a specific Supplemental Claim Evidence Submission.
#
# @param uuid [uuid] supplemental Claim UUID Evidence Submission
# @param guid [guid] supplemental Claim UUID Evidence Submission
# @return [Faraday::Response]
#
def get_supplemental_claim_upload(uuid:)
def get_supplemental_claim_upload(guid:)
with_monitoring_and_error_handling do
perform :get, "supplemental_claims/evidence_submissions/#{uuid}", nil
perform :get, "supplemental_claims/evidence_submissions/#{guid}", nil
end
end

Expand Down
4 changes: 2 additions & 2 deletions spec/lib/decision_review_v1/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -684,10 +684,10 @@ def personal_information_logs

describe '#get_supplemental_claim_upload' do
subject do
described_class.new.get_supplemental_claim_upload(uuid:)
described_class.new.get_supplemental_claim_upload(guid:)
end

let(:uuid) { '59cdb98f-f94b-4aaa-8952-4d1e59b6e40a' }
let(:guid) { '59cdb98f-f94b-4aaa-8952-4d1e59b6e40a' }

context '200 response' do
it 'returns a properly formatted 200 response' do
Expand Down

0 comments on commit 228d82c

Please sign in to comment.