Skip to content

Commit

Permalink
MHV-64151 Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoyer-va committed Dec 9, 2024
1 parent d1405ba commit 9addbc6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
user_id: 11_375_034,
patient_id: '11382904',
expires_at: 1.hour.from_now,
token: 'ENC(MA0ECJh1RjEgZFMhAgEQC4nF/gSOKGSZuYg8kVN8CmHNnCLychZ7Wo2jXGwPj39SQFG4wLsFYlZN)'
token: 'SESSION_TOKEN'
}
)

Expand All @@ -35,13 +35,12 @@
context 'Premium User' do
let(:mhv_account_type) { 'Premium' }

it 'streams DICOM data without the Content-Length header' do
it 'streams DICOM data' do
VCR.use_cassette('bb_client/get_dicom') do
get "/my_health/v1/medical_records/imaging/#{study_id}/dicom"
end

expect(response).to be_successful
# expect(response.headers).not_to have_key('Content-Length')
expect(response.headers['Content-Type']).to eq('application/zip')
end
end
Expand Down

0 comments on commit 9addbc6

Please sign in to comment.