mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
3.3-stable: fix test failure (#23700)
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15793 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -227,7 +227,7 @@ class WikiControllerTest < ActionController::TestCase
|
|||||||
Role.find(1).remove_permission!(:protect_wiki_pages)
|
Role.find(1).remove_permission!(:protect_wiki_pages)
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
|
|
||||||
post :new, :params => {:project_id => 'ecookbook', :title => 'Sidebar'}
|
post :new, :project_id => 'ecookbook', :title => 'Sidebar'
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select_error /Title/
|
assert_select_error /Title/
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user