diff --git a/app/services/idv/session.rb b/app/services/idv/session.rb index 6bea72abdef..96602f224ef 100644 --- a/app/services/idv/session.rb +++ b/app/services/idv/session.rb @@ -117,10 +117,6 @@ def create_gpo_entry @gpo_otp = confirmation_maker.otp end - def alive? - session.present? - end - def address_mechanism_chosen? vendor_phone_confirmation == true || address_verification_mechanism == 'gpo' end diff --git a/spec/controllers/idv_controller_spec.rb b/spec/controllers/idv_controller_spec.rb index 8775f2e6003..fb1b6452c18 100644 --- a/spec/controllers/idv_controller_spec.rb +++ b/spec/controllers/idv_controller_spec.rb @@ -131,7 +131,6 @@ get :activated expect(response).to render_template(:activated) - expect(subject.idv_session.alive?).to eq false end end