From f2313680d4ec12cfe30d07f7bec96a66c013e381 Mon Sep 17 00:00:00 2001 From: Matt Christianson <95487885+mchristiansonVA@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:30:08 -0500 Subject: [PATCH] Fix test for org web service --- modules/claims_api/spec/requests/metadata_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/claims_api/spec/requests/metadata_spec.rb b/modules/claims_api/spec/requests/metadata_spec.rb index a9d4ca85dee..8f89bbcec98 100644 --- a/modules/claims_api/spec/requests/metadata_spec.rb +++ b/modules/claims_api/spec/requests/metadata_spec.rb @@ -104,10 +104,6 @@ end it 'returns the correct status when bgs org service is not healthy' do - allow_any_instance_of(ClaimsApi::LocalBGS).to receive( - :find_poa_history_by_ptcpnt_id - ) - .and_return(Struct.new(:healthy?).new(false)) get "/services/claims/#{version}/upstream_healthcheck" result = JSON.parse(response.body) expect(result['org_web_service']['success']).to eq(false)