diff --git a/apps/dashboard/test/integration/sessions_controller_test.rb b/apps/dashboard/test/integration/sessions_controller_test.rb index e85963ac..d8c99010 100644 --- a/apps/dashboard/test/integration/sessions_controller_test.rb +++ b/apps/dashboard/test/integration/sessions_controller_test.rb @@ -101,7 +101,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest value = '{"id":"1234","job_id":"1","created_at":1669139262,"token":"sys/token","title":"session title","cache_completed":true}' session = BatchConnect::Session.new.from_json(value) session.stubs(:status).returns(OodCore::Job::Status.new(state: :completed)) - session.stubs(:app).returns(stub(valid?: true, token: 'sys/token', attributes: [], session_info_view: nil, ssh_allow?: true)) + session.stubs(:app).returns(stub(valid?: true, token: 'sys/token', attributes: [], session_info_view: nil, session_completed_view: nil, ssh_allow?: true)) BatchConnect::Session.stubs(:all).returns([session]) get batch_connect_sessions_path