mirror of
https://github.com/redmine/redmine.git
synced 2026-07-04 15:39:09 +02:00
Merge r22584 from trunk to 5.0-stable (#39999).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22586 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -311,6 +311,19 @@ class MessagesControllerTest < Redmine::ControllerTest
|
||||
assert_include '> An other reply', response.body
|
||||
end
|
||||
|
||||
def test_quote_as_html_should_respond_with_404
|
||||
@request.session[:user_id] = 2
|
||||
get(
|
||||
:quote,
|
||||
:params => {
|
||||
:board_id => 1,
|
||||
:id => 3
|
||||
},
|
||||
)
|
||||
|
||||
assert_response 404
|
||||
end
|
||||
|
||||
def test_preview_new
|
||||
@request.session[:user_id] = 2
|
||||
post(
|
||||
|
||||
Reference in New Issue
Block a user