Redmine 4.1.7
This commit is contained in:
parent
55458d3479
commit
3ca3c37487
103 changed files with 2426 additions and 431 deletions
|
@ -428,4 +428,19 @@ class SearchControllerTest < Redmine::ControllerTest
|
|||
assert_select 'dd span.highlight', :text => 'highlighted'
|
||||
end
|
||||
end
|
||||
|
||||
def test_search_should_exclude_empty_modules_params
|
||||
@request.session[:user_id] = 1
|
||||
|
||||
get :index, params: {
|
||||
q: "private",
|
||||
scope: "all",
|
||||
issues: "1",
|
||||
projects: nil
|
||||
}
|
||||
|
||||
assert_response :success
|
||||
|
||||
assert_select '#search-results dt.project', 0
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue