The test email action should only be accessible with POST (#20203).

git-svn-id: http://svn.redmine.org/redmine/trunk@14389 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-06-29 16:09:00 +00:00
parent 004fc8b84b
commit 670340e543
4 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ class RoutingAdminTest < Redmine::RoutingTest
should_route 'GET /admin/projects' => 'admin#projects'
should_route 'GET /admin/plugins' => 'admin#plugins'
should_route 'GET /admin/info' => 'admin#info'
should_route 'GET /admin/test_email' => 'admin#test_email'
should_route 'POST /admin/test_email' => 'admin#test_email'
should_route 'POST /admin/default_configuration' => 'admin#default_configuration'
end
end