Removes wiki tab in project settings (#26579).

git-svn-id: http://svn.redmine.org/redmine/trunk@16917 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-07-30 08:28:50 +00:00
parent 2596653bed
commit 6712ef52c2
3 changed files with 0 additions and 17 deletions

View File

@@ -592,21 +592,6 @@ class ProjectsControllerTest < Redmine::ControllerTest
assert_response 403
end
def test_setting_with_wiki_module_and_no_wiki
Project.find(1).wiki.destroy
Role.find(1).add_permission! :manage_wiki
@request.session[:user_id] = 2
get :settings, :params => {
:id => 1
}
assert_response :success
assert_select 'form[action=?]', '/projects/ecookbook/wiki' do
assert_select 'input[name=?]', 'wiki[start_page]'
end
end
def test_settings_should_accept_version_status_filter
@request.session[:user_id] = 2