From 1e28915e55bc6ae5758b05177dbd10de4716291e Mon Sep 17 00:00:00 2001 From: Rachal Cassity Date: Wed, 17 Apr 2024 16:17:38 -0500 Subject: [PATCH] Added virus scan to uploads spec (#16393) * Added virus scan to uploads spec * Fixing Virus scan spec --- modules/simple_forms_api/spec/requests/v1/uploads_spec.rb | 1 + 1 file changed, 1 insertion(+) 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..535e42dcd59 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,7 @@ context 'going to Lighthouse Benefits Claims API' do before do + allow(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')