提交 3eda77f0 编写于 作者: K Kasper Timm Hansen

Merge pull request #22028 from yui-knk/suppress_deprecated_warning_test

Suppress warnings (warnings about AD::IntegrationTest HTTP request)
......@@ -463,7 +463,7 @@ def test_get
def test_get_xml_rss_atom
%w[ application/xml application/rss+xml application/atom+xml ].each do |mime_string|
with_test_route_set do
get "/get", {}, {"HTTP_ACCEPT" => mime_string}
get "/get", headers: {"HTTP_ACCEPT" => mime_string}
assert_equal 200, status
assert_equal "OK", status_message
assert_response 200
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册