summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-10-20 04:13:21 +0000
committerGo MAEDA <maeda@farend.jp>2022-10-20 04:13:21 +0000
commitaeabd4682a3ff98a6e7d6b5ed0c7091937964033 (patch)
treeca8a82184f2df557553c81967b9d112e920bd1f5 /test
parentd726df660f726171d6f42bb30fd163dfbb1fd230 (diff)
downloadredmine-aeabd4682a3ff98a6e7d6b5ed0c7091937964033.tar.gz
redmine-aeabd4682a3ff98a6e7d6b5ed0c7091937964033.zip
Constraints *_all attachments routes to actually supported values of container_type (#37772).
Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21906 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/attachments_controller_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb
index 71c54a774..4dbe3ce6e 100644
--- a/test/functional/attachments_controller_test.rb
+++ b/test/functional/attachments_controller_test.rb
@@ -491,17 +491,6 @@ class AttachmentsControllerTest < Redmine::ControllerTest
assert_select 'h2 a', :text => "Feature request #2"
end
- def test_edit_all_with_invalid_container_class_should_return_404
- get(
- :edit_all,
- :params => {
- :object_type => 'nuggets',
- :object_id => '3'
- }
- )
- assert_response 404
- end
-
def test_edit_all_with_invalid_object_should_return_404
get(
:edit_all,