mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Fixed that issue counts are 0 on project overview (#26376).
git-svn-id: http://svn.redmine.org/redmine/trunk@16766 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -543,6 +543,16 @@ class ProjectsControllerTest < Redmine::ControllerTest
|
||||
assert_select 'a', :text => /Private child/
|
||||
end
|
||||
|
||||
def test_show_by_member_on_leaf_project_should_display_issue_counts
|
||||
@request.session[:user_id] = 2
|
||||
get :show, :params => {
|
||||
:id => 'onlinestore'
|
||||
}
|
||||
assert_response :success
|
||||
# Make sure there's a > 0 issue count
|
||||
assert_select 'table.issue-report td.total a', :text => %r{\A[1-9]\d*\z}
|
||||
end
|
||||
|
||||
def test_settings
|
||||
@request.session[:user_id] = 2 # manager
|
||||
get :settings, :params => {
|
||||
|
||||
Reference in New Issue
Block a user