From 2f7493f469ce4ea7179bcb2a82532f466080938c Mon Sep 17 00:00:00 2001 From: RachalCassity Date: Wed, 17 Apr 2024 15:37:55 -0500 Subject: [PATCH] Added virus scan to uploads spec --- modules/simple_forms_api/spec/requests/v1/uploads_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb b/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb index 5c70fcf9c1b..b68a647fd8b 100644 --- a/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb +++ b/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb @@ -237,6 +237,8 @@ context 'going to Lighthouse Benefits Claims API' do before do + allow(Common::VirusScan).to receive(:scan).and_return(true) + allow_any_instance_of(Common::VirusScan).to receive(:scan).and_return(true) VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/404_response') VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_survivor')