summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-29 16:09:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-29 16:09:00 +0000
commit670340e543cecafbd7c6f89e3113d7b06858e0bb (patch)
treeb984411f79aa783d903c16e0cfe87b7beff0d6b1 /test/integration
parent004fc8b84b1cebc521664ca3830f969a91244e67 (diff)
downloadredmine-670340e543cecafbd7c6f89e3113d7b06858e0bb.tar.gz
redmine-670340e543cecafbd7c6f89e3113d7b06858e0bb.zip
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
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/admin_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/routing/admin_test.rb b/test/integration/routing/admin_test.rb
index 0fce80395..16e2c1ca1 100644
--- a/test/integration/routing/admin_test.rb
+++ b/test/integration/routing/admin_test.rb
@@ -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