Skip to content

Commit d1f2276

Browse files
committed
Removed dead code
1 parent 36e2423 commit d1f2276

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/ivc_champva/app/controllers/ivc_champva/v1/uploads_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def evidence_submission_template_metadata(file_name)
710710
end
711711

712712
def successful_upload_response?(status)
713-
status.to_s == 'ok' || status.to_i == 200
713+
status.to_i == 200
714714
end
715715

716716
def mark_docs_only_evidence_submissions_received(parsed_form_data)

modules/ivc_champva/spec/requests/ivc_champva/v1/forms/uploads_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@
902902
allow(Flipper).to receive(:enabled?).with(:form1010d_enhanced_flow_enabled, anything).and_return(true)
903903
allow_any_instance_of(IvcChampva::V1::UploadsController)
904904
.to receive(:handle_file_uploads_wrapper)
905-
.and_return({ json: {}, status: :ok })
905+
.and_return({ json: {}, status: 200 })
906906

907907
post '/ivc_champva/v1/forms/docs_only_resubmission', params: payload, as: :json
908908

0 commit comments

Comments
 (0)