diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index 7672dafb4..50766f0fd 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -760,6 +760,8 @@ class TimelogControllerTest < Redmine::ControllerTest end def test_index_at_project_level + @request.session[:user_id] = 2 + get :index, :params => {:project_id => 'ecookbook', :c => ['project']} assert_response :success