diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-03 01:21:13 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-03 01:21:13 +0000 |
commit | bcf7044104f7398e941ffd4ce0238d56ab6f249e (patch) | |
tree | 30c3d2627930c345bb1915b9c7ea5dfc141a807c /test/functional/messages_controller_test.rb | |
parent | 9632aa870a6f3e008c222c382d17a38620d40daf (diff) | |
download | redmine-bcf7044104f7398e941ffd4ce0238d56ab6f249e.tar.gz redmine-bcf7044104f7398e941ffd4ce0238d56ab6f249e.zip |
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
Diffstat (limited to 'test/functional/messages_controller_test.rb')
-rw-r--r-- | test/functional/messages_controller_test.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb index b3d7ae796..2bb0051f5 100644 --- a/test/functional/messages_controller_test.rb +++ b/test/functional/messages_controller_test.rb @@ -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( |