Skip to content

Commit

Permalink
dbex/99346-be-te-toggle-cleanup: comment out failing tests (pending p…
Browse files Browse the repository at this point in the history
…ossible removal)
  • Loading branch information
sethdarragile6 committed Dec 30, 2024
1 parent cf1077e commit 2351b2b
Showing 1 changed file with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,17 @@
json_response = JSON.parse(response.body)
expect(json_response['formData']['startedFormVersion']).to eq('2019')
end

# if the user with an IPF was not chosen for Toxic Exposure 1.1 release
it 'does not return startedFormVersion' do
VCR.use_cassette('lighthouse/veteran_verification/disability_rating/200_response') do
get v0_disability_compensation_in_progress_form_url(in_progress_form_lighthouse.form_id), params: nil
end

expect(response).to have_http_status(:ok)
json_response = JSON.parse(response.body)
expect(json_response['formData']['startedFormVersion']).to eq(nil)
end
#
# # if the user with an IPF was not chosen for Toxic Exposure 1.1 release
# it 'does not return startedFormVersion' do
# VCR.use_cassette('lighthouse/veteran_verification/disability_rating/200_response') do
# get v0_disability_compensation_in_progress_form_url(in_progress_form_lighthouse.form_id), params: nil
# end
#
# expect(response).to have_http_status(:ok)
# json_response = JSON.parse(response.body)
# expect(json_response['formData']['startedFormVersion']).to eq(nil)
# end
end
end

Expand All @@ -141,11 +141,11 @@
expect(json_response['formData']['startedFormVersion']).to eq('2022')
end

it 'omits adding startedFormVersion when corresponding flag is not enabled for user' do
get v0_disability_compensation_in_progress_form_url(form_id), params: nil
json_response = JSON.parse(response.body)
expect(json_response['formData']['startedFormVersion']).to eq(nil)
end
# it 'omits adding startedFormVersion when corresponding flag is not enabled for user' do
# get v0_disability_compensation_in_progress_form_url(form_id), params: nil
# json_response = JSON.parse(response.body)
# expect(json_response['formData']['startedFormVersion']).to eq(nil)
# end
end

context 'using the EVSS Rated Disabilities Provider' do
Expand Down Expand Up @@ -257,16 +257,16 @@
expect(json_response['formData']['startedFormVersion']).to eq('2019')
end

# if the user with an IPF was not chosen for Toxic Exposure 1.1 release
it 'does not return startedFormVersion' do
VCR.use_cassette('lighthouse/veteran_verification/disability_rating/200_response') do
get v0_disability_compensation_in_progress_form_url(in_progress_form.form_id), params: nil
end

expect(response).to have_http_status(:ok)
json_response = JSON.parse(response.body)
expect(json_response['formData']['startedFormVersion']).to eq(nil)
end
# # if the user with an IPF was not chosen for Toxic Exposure 1.1 release
# it 'does not return startedFormVersion' do
# VCR.use_cassette('lighthouse/veteran_verification/disability_rating/200_response') do
# get v0_disability_compensation_in_progress_form_url(in_progress_form.form_id), params: nil
# end
#
# expect(response).to have_http_status(:ok)
# json_response = JSON.parse(response.body)
# expect(json_response['formData']['startedFormVersion']).to eq(nil)
# end
end

describe '#index' do
Expand Down

0 comments on commit 2351b2b

Please sign in to comment.