Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions app/controllers/idv/in_person/verify_info_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class VerifyInfoController < ApplicationController
include Steps::ThreatMetrixStepHelper
include VerifyInfoConcern

before_action :renders_404_if_flag_not_set
before_action :confirm_ssn_step_complete
before_action :confirm_verify_info_step_needed

Expand Down Expand Up @@ -56,10 +55,6 @@ def prev_url
idv_in_person_step_url(step: :ssn)
end

def renders_404_if_flag_not_set
render_not_found unless IdentityConfig.store.in_person_verify_info_controller_enabled
end

def pii
@pii = flow_session[:pii_from_user]
end
Expand Down
9 changes: 0 additions & 9 deletions spec/controllers/idv/in_person/verify_info_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@
:confirm_verify_info_step_needed,
)
end

it 'renders 404 if feature flag not set' do
allow(IdentityConfig.store).to receive(:in_person_verify_info_controller_enabled).
and_return(false)

get :show

expect(response).to be_not_found
end
end

context 'when in_person_verify_info_controller_enabled' do
Expand Down