diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-03 01:20:47 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-03 01:20:47 +0000 |
commit | 8b0a4fb197906c61788734037240a25817c8ec5d (patch) | |
tree | 851566c05e390d6ef67101585b70dd5c17466d1c /test | |
parent | dde4d143d18b6a8e5868caec6886c7ce8f95479b (diff) | |
download | redmine-8b0a4fb197906c61788734037240a25817c8ec5d.tar.gz redmine-8b0a4fb197906c61788734037240a25817c8ec5d.zip |
Merge r22584 from trunk to 5.1-stable (#39999).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22585 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-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 2535e570b..4e146e4e6 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( |